in reply to Automatically killing a child

If you have it, you can use pkill -g <GID> '.*' to kill the group of processes, I think.

bbfu
Black flowers blossom
Fearless on my breath