diff options
author | Tim Caswell <tim@creationix.com> | 2010-04-09 20:56:22 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-04-09 21:01:47 +0400 |
commit | ff56d6364eb09079b1ab6e9ef32d66c2cb4c0bfd (patch) | |
tree | 0528b9c79cdfeff04fb4107ba8ca5effbe13563e /lib/child_process.js | |
parent | 06b9c8bf1f75c20433413a6aececa26326641a3f (diff) |
Fix child_process to use end() instead of close() in the stdin stream.
Diffstat (limited to 'lib/child_process.js')
-rw-r--r-- | lib/child_process.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/child_process.js b/lib/child_process.js index b0f8316858a..4ed5a544a00 100644 --- a/lib/child_process.js +++ b/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); } |