Depending on your platform this behavior may be different.  I believe on 
Windows ctrl+c sends a signal to all processes bound to the console, so 
might kill all of the children (depending on how cluster.fork() is 
implemented the child processes may or may not be detached).  A kill signal 
sent from task manager or taskkill.exe just kills the process you request. 
 I'm not on Windows at the moment to test, however, so I might be 
misremembering some details.  From your log it looks like you killed all 
processes and restarted twice, nothing unexpected.

On Wednesday, August 13, 2014 8:53:02 PM UTC-7, Tushar Jain wrote:
>
> sorry for the ambiguity.. 
>
> I mean  node example.js 
>             (ctrl-c node) 
>             node example.js
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/0f6abf48-b795-4331-be33-7f9d277d2efb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to