On Thu, Mar 22, 2012 at 05:37, C. Mundi <[email protected]> wrote:
> According to the docs, POSIX signals are mapped to events. I was planning
> on just catching them. I assume that's how the "press ctrlC again to exit"
> is implemented for the REPL. Corrections?
Some signals are. For example, you can catch Ctrl-C with
process.on('SIGINT', cb) (maybe not on Windows).
However, signals like SIGSTOP (which is what some terminals send if
you press Ctrl-S) cannot be caught.
--
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