4 ms·
The signals EXIT HUP INT TERM cover everything I've run into (I'm actually using EXIT SIGHUP SIGINT SIGTERM but presumably it's equivalent). In basic terms for
by lgsymons 3y ago
The signals EXIT HUP INT TERM cover everything I've run into (I'm actually using EXIT SIGHUP SIGINT SIGTERM but presumably it's equivalent).
In basic terms for my purposes these respectively account for a clean exit, the terminal emulator being closed, ctrl-c, the kill command (edit: the default SIGTERM kill -15, not the SIGKILL kill -9)
- thelastparadise 3y agoWhat's the signal for SIGKILL?
- EscapeFromNY 3y agoSIGKILL can't be handled. It's the signal you send when you don't want to give the process a chance to handle it.
- moehm 3y agoThat's the difference between kill -15 (SIGTERM) and kill -9 (SIGKILL), where SIGTERM shuts down a process gracefully.
- w-ll 3y agoRelevant: Monzy performs at Stanford Univ. "Kill Dash Nine" https://www.youtube.com/watch?v=Fow7iUaKrq4 https://www.youtube.com/watch?v=Fow7iUaKrq4
- shepherdjerred 3y agoThis is mandatory viewing