Skip to content

Commit

Permalink
Changed the comment on lines 53-54, fixing issue 8927
Browse files Browse the repository at this point in the history
  • Loading branch information
tanujasawant authored Oct 7, 2016
1 parent b2534f1 commit e5ed61f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/child_process.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ exports.fork = function(modulePath /*, args, options*/) {
args = execArgv.concat([modulePath], args);

if (!Array.isArray(options.stdio)) {
// Leave stdin open for the IPC channel. stdout and stderr should be the
// same as the parent's if silent isn't set.
// Use a separate fd=4 for IPC channel. Inherit stdin, stdout and stderr
// from the parent if silent isn't set.
options.stdio = options.silent ? ['pipe', 'pipe', 'pipe', 'ipc'] :
[0, 1, 2, 'ipc'];
} else if (options.stdio.indexOf('ipc') === -1) {
Expand Down

0 comments on commit e5ed61f

Please sign in to comment.