Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

child_process: add .stdin stream to forks

Remove test as it doesn't make any sense after the latest stdio API
changes.
  • Loading branch information
indutny committed Jun 18, 2012
1 parent 057b806 commit 0a89e8b838caf0769807c4e9a665a70d2e63b032
Showing with 2 additions and 33 deletions.
  1. +2 −1 lib/child_process.js
  2. +0 −32 test/simple/test-child-process-fork3.js
@@ -437,7 +437,8 @@ exports.fork = function(modulePath /*, args, options*/) {

// Leave stdin open for the IPC channel. stdout and stderr should be the
// same as the parent's if silent isn't set.
options.stdio = options.silent ? ['ipc', 'pipe', 'pipe'] : ['ipc', 1, 2];
options.stdio = options.silent ? ['pipe', 'pipe', 'pipe', 'ipc'] :
[0, 1, 2, 'ipc'];

return spawn(process.execPath, args, options);
};

This file was deleted.

0 comments on commit 0a89e8b

Please sign in to comment.
You can’t perform that action at this time.