Skip to content

Commit

Permalink
avoid use of deprecated customFds - refs #125
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Nov 11, 2014
1 parent 29ad122 commit 0c8929d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports.run_gyp = function(args,opts,callback) {
}
}
var final_args = cmd_args.concat(args);
var cmd = cp.spawn(shell_cmd, final_args, {cwd: undefined, env: process.env, customFds: [ 0, 1, 2]});
var cmd = cp.spawn(shell_cmd, final_args, {cwd: undefined, env: process.env, stdio: [ 0, 1, 2]});
cmd.on('error', function (err) {
if (err) {
return callback(new Error("Failed to execute '" + shell_cmd + ' ' + final_args.join(' ') + "' (" + err + ")"));
Expand Down

0 comments on commit 0c8929d

Please sign in to comment.