Created
February 21, 2012 23:21
-
-
Save isaacs/1879756 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/node.js b/src/node.js | |
index ca5d39d..3eea4f1 100644 | |
--- a/src/node.js | |
+++ b/src/node.js | |
@@ -324,6 +324,9 @@ | |
// For supporting legacy API we put the FD here. | |
stdin.fd = fd; | |
+ // stdin should start out life in a paused state. | |
+ stdin.pause(); | |
+ | |
return stdin; | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment