Hey soewji, you could use proc_open() and use the resource handle with proc_close() to close the process.
[1] http://www.php.net/manual/en/function.proc-open.php [2] http://www.php.net/manual/en/function.proc-close.php --Benjamin 2013/4/15 soewij <soesil...@gmail.com> > Hello, I'm new to node.js > So I have an "app.js" run by node. (Windows) > I call the "node app.js" from within a PHP script using exec(). > Then, I have node.exe process running. > > Question: Is there any node.exe's argument to close/terminate node.exe > process? > Something likes "node.exe --stop" .. so that I can terminate node.exe from > within PHP script ? > I would appreciate any helps and suggestions. > Thank you very much. > > > > -- > -- > 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 > > --- > 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 nodejs+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- 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 --- 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 nodejs+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.