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:
parent
158ca0d869
commit
1301390087
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue