mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-12-27 08:32:30 +03:00
parent
dea5c5560e
commit
22acdb76f6
@ -17,7 +17,7 @@ exports.safeExec = function(command, options, callback) {
|
||||
var child = childProcess.exec(command, options, function(error, stdout, stderr) {
|
||||
if (error)
|
||||
process.exit(error.code || 1);
|
||||
else
|
||||
else if (callback)
|
||||
callback(null);
|
||||
});
|
||||
child.stderr.pipe(process.stderr);
|
||||
|
Loading…
Reference in New Issue
Block a user