Created
January 29, 2010 02:21
-
-
Save blackdog66/289384 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
If this is your Test.js | |
process.stdio.addListener("data",function(d) { | |
process.stdio.write(d); | |
}); | |
process.stdio.open() | |
then why does | |
child = process.createChildProcess("node", ["Test.js"]) | |
child.addListener("output",function(chunk) { sys.puts(chunk); }); | |
child.write("blah"); | |
child.write("\n"); | |
require two writes? | |
node -v | |
v0.1.26-15-gb06dda1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment