|
@ -216,15 +216,15 @@ Note: |
|
|
install a listener but that won't stop the debugger from starting. |
|
|
install a listener but that won't stop the debugger from starting. |
|
|
- `SIGTERM` and `SIGINT` have default handlers on non-Windows platforms that resets |
|
|
- `SIGTERM` and `SIGINT` have default handlers on non-Windows platforms that resets |
|
|
the terminal mode before exiting with code `128 + signal number`. If one of |
|
|
the terminal mode before exiting with code `128 + signal number`. If one of |
|
|
these signals has a listener installed, its default behaviour will be removed |
|
|
these signals has a listener installed, its default behavior will be removed |
|
|
(Node.js will no longer exit). |
|
|
(Node.js will no longer exit). |
|
|
- `SIGPIPE` is ignored by default, it can have a listener installed. |
|
|
- `SIGPIPE` is ignored by default, it can have a listener installed. |
|
|
- `SIGHUP` is generated on Windows when the console window is closed, and on other |
|
|
- `SIGHUP` is generated on Windows when the console window is closed, and on other |
|
|
platforms under various similar conditions, see signal(7). It can have a |
|
|
platforms under various similar conditions, see signal(7). It can have a |
|
|
listener installed, however Node.js will be unconditionally terminated by |
|
|
listener installed, however Node.js will be unconditionally terminated by |
|
|
Windows about 10 seconds later. On non-Windows platforms, the default |
|
|
Windows about 10 seconds later. On non-Windows platforms, the default |
|
|
behaviour of `SIGHUP` is to terminate Node.js, but once a listener has been |
|
|
behavior of `SIGHUP` is to terminate Node.js, but once a listener has been |
|
|
installed its default behaviour will be removed. |
|
|
installed its default behavior will be removed. |
|
|
- `SIGTERM` is not supported on Windows, it can be listened on. |
|
|
- `SIGTERM` is not supported on Windows, it can be listened on. |
|
|
- `SIGINT` from the terminal is supported on all platforms, and can usually be |
|
|
- `SIGINT` from the terminal is supported on all platforms, and can usually be |
|
|
generated with `CTRL+C` (though this may be configurable). It is not generated |
|
|
generated with `CTRL+C` (though this may be configurable). It is not generated |
|
|