Browse Source

Fix child_process to use end() instead of close() in the stdin stream.

v0.7.4-release
Tim Caswell 15 years ago
committed by Ryan Dahl
parent
commit
ff56d6364e
  1. 2
      lib/child_process.js

2
lib/child_process.js

@ -56,7 +56,7 @@ function ChildProcess () {
internal.onexit = function (code) {
gotCHLD = true;
exitCode = code;
stdin.close();
stdin.end();
if (!stdout.readable && !stderr.readable) {
self.emit('exit', exitCode);
}

Loading…
Cancel
Save