If you are on Linux you can use kill for send signal to process.

Il venerdì 17 aprile 2015, hammer <[email protected]> ha scritto:

> I have several CLI applications which are designed to shut down using
> cntrl-c which i would like to control using a node application
> (specifically a node-webmit app). Starting them is easy enough, but
> stopping them I'm not clear on. I thought maybe ncurses was the answer but
> all the information I can find about keyboard commands has to do with
> capturing them rather than sending them to an app. How can this be done in
> node?
>
> --
> 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 [email protected]
> <javascript:_e(%7B%7D,'cvml','nodejs%[email protected]');>.
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/fb27dbb5-720f-4429-9f79-367e38edd980%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/fb27dbb5-720f-4429-9f79-367e38edd980%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Inviato da Gmail Mobile

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CA%2BUNQg-SkFzJGvwRQU8k0d_0xBceDp%2BWnm%3DbuUHnBp%3DaDWSOAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to