diff --git a/lib/coffee-script/command.js b/lib/coffee-script/command.js index 357653b7..c2ccb237 100644 --- a/lib/coffee-script/command.js +++ b/lib/coffee-script/command.js @@ -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); diff --git a/src/command.coffee b/src/command.coffee index 25ac8d6d..5116a939 100644 --- a/src/command.coffee +++ b/src/command.coffee @@ -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