projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06b9c8b
)
Fix child_process to use end() instead of close() in the stdin stream.
author
Tim Caswell
<tim@creationix.com>
Fri, 9 Apr 2010 16:56:22 +0000
(11:56 -0500)
committer
Ryan Dahl
<ry@tinyclouds.org>
Fri, 9 Apr 2010 17:01:47 +0000
(10:01 -0700)
lib/child_process.js
patch
|
blob
|
history
diff --git
a/lib/child_process.js
b/lib/child_process.js
index
b0f8316
..
4ed5a54
100644
(file)
--- 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);
}