first commit
This commit is contained in:
commit
d3bb4199e1
12081 files changed
+662460
No files matched your search
+11
@@ -0,0 +1,11 @@
|
||||
var spawnCommand = require('../'),
|
||||
command = (process.platform === 'win32') ? 'echo "Hello spawn"' : 'echo "Hello spawn" | base64',
|
||||
child = spawnCommand(command);
|
||||
|
||||
child.stdout.on('data', function (data) {
|
||||
console.log('data', data.toString());
|
||||
});
|
||||
|
||||
child.on('exit', function (exitCode) {
|
||||
console.log('exit', exitCode);
|
||||
});
|
||||
Reference in new issue
Block a user