This commit is contained in:
Matias Alejo Garcia 2014-07-07 11:01:52 -03:00
commit be8635abbf

View file

@ -1,6 +1,6 @@
/* /*
** copay-shell - launch ** copay-shell - launch
*/ */
var color = require('cli-color'); var color = require('cli-color');
var path = require('path'); var path = require('path');
@ -26,14 +26,14 @@ switch (process.platform) {
var copay = spawn(execPath, [appPath]); var copay = spawn(execPath, [appPath]);
copay.stdout.on('data', function (data) { copay.stdout.on('data', function(data) {
console.log(data); console.log(data);
}); });
copay.stderr.on('data', function (data) { copay.stderr.on('data', function(data) {
console.log(color.red(data)); console.log("STDERR:" + data);
}); });
copay.on('close', function (code) { copay.on('close', function(code) {
console.log('child process exited with code ' + code); console.log('child process exited with code ' + code);
}); });