|
|
|
|
|
by kragen
1413 days ago
|
|
SIGSTOP cannot be caught and handled; you're thinking of SIGTSTP. Non-interactive programs do not need any special handling for SIGINT, and that seems to be what you're talking about. The author was talking about interactive programs like irb, bc, bash, gdb, and python, all of which behave as they desire, returning you to their REPL prompt upon receipt of SIGINT. One example of an interactive program that does not have the desired behavior is GNU Units. |
|