See the documentation for "Child Processes", specifically child_process.spawn (or child_process.exec). You can execute any command from there including starting up a server. Note however that the spawned process gets killed if your node script ends. If you have set up redis as a service, you can start/stop that service by executing the corresponding command through node.
All the best, Geerten On Thursday, November 29, 2012 12:44:14 PM UTC+1, Angelo Chen wrote: > > Hi, > > is this possible? thanks. > > Angelo > -- 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
