Hello,
I am looking for a way to communicate with a process in a way that will 
preserve state, meaning that the commands entered and their effect on the 
process will remain.
The problem is that if I use "spawn" through child_process, I need to use 
stdin.end() in order for the commands being written (using 
stdin.write(cmd)) to take effect.
Using .end() kills the process and thus causes for losing state.
How should this be resolved? are there any alternative suggested ways of 
operation?
Thanks
Jack

-- 
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to