1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

Use stdio option instead of customFds

This commit is contained in:
dtaniwaki 2014-10-04 12:54:07 +09:00
parent 158ca0d869
commit 1301390087
2 changed files with 2 additions and 2 deletions

View file

@ -554,7 +554,7 @@
p = spawn(process.execPath, nodeArgs.concat(args), {
cwd: process.cwd(),
env: process.env,
customFds: [0, 1, 2]
stdio: [0, 1, 2]
});
return p.on('exit', function(code) {
return process.exit(code);

View file

@ -417,7 +417,7 @@ forkNode = ->
p = spawn process.execPath, nodeArgs.concat(args),
cwd: process.cwd()
env: process.env
customFds: [0, 1, 2]
stdio: [0, 1, 2]
p.on 'exit', (code) -> process.exit code
# Print the `--help` usage message and exit. Deprecated switches are not