Ok - this might be a little "out there" - but I'm using "spawn" to start a 
process - with the stdin, stdout, stderr read/written by my node app..


                        child = spawn("Sometime",[ ]);

...
                        child.stderr.on('data',function(d) {
                                console.log("STDERR>>"+d);
                        });

etc etc..

And that all works great :)


Now - what I could ideally do with with *another* stream to communicate 
between my unix program and the node.js (basically - I want to get the 
stdout and stderr - but also have a third channel just for communicating to 
the node.js stuff for various control operations ).

Any ideas how I can do this ?
I was thinking of named pipes etc - and passing in a filename, or setting 
some environment variable - but this seems overkill - all I need is another 
stream I can "fprintf" to from my C program !


Any thoughts or ideas would be much appreciated!




-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to