So, all unix users know this:

    cat myfile | ./someProg

someProg assumes its data to come to STDIN and wouldn’t take other arguments. 
But, how do we do that in NodeJS? Imagine we have the contents of myfile and 
just want to spawn a child process of someProg…but then? How do I feed it the 
stuff it expects?

Kind regards, Ingwie

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/EE3D76E0-68DD-445E-9187-F503ABFECDB2%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to