You could also take a look a this https://github.com/unconed/TermKit
On Saturday, 2 November 2013 02:19:39 UTC+1, Matthew Sudol wrote: > > I'm new to nodeJS but I'm having a lot of fun with tutorials and examples > and learning all sorts of fun new things I can do. One thing I want to try > just for the sake of doing it, I have no real application in mind at the > moment is this: > > client (web browser) -> connects to node app, with socket.io -> spawns > child process that runs an application on the host -> application sends > message back to node app (unix sockets?) -> node app returns message to the > client that spawned the process -> client and application are now sending > and receiving messages to each other. > > In this application the "app" could be something as simple as a bash > script that just echoes back whatever messages was sent from the browser as > part of a form input. > > I've got a lot of sample code mashed together and I'm getting close to > hacking something of my own together, I guess I'd just like to see what/how > other people would suggest doing this. I'm having the most trouble with the > child process, and sending messages back to the specific client. > > Thanks! > -- -- 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.
