Kevin Ingwersen (Ingwie Phoenix)
unread,Oct 31, 2014, 10:15:11 AM10/31/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to nod...@googlegroups.com
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