One way of seeing that the grandfather process can terminate grandchild processes is to have the child process catch the signal and kill, in turn, its own child processes, as part of its clean-up code before it dies. This means that you have to use a signal that can be recovered from when killing the child process.

Reply via email to