[1200419 views]

[]

[ads]

Odi's astoundingly incomplete notes

New entries | Code

Relaying SIGINT signal to child processes

Here is a bash function (plus test program) that correctly relays important signals to child processes. So that pressing Ctrl-C reliably terminates both all child processes and the parent process.


posted on 2020-01-09 10:32 CET in Code | 0 comments | permalink