in reply to Automatically killing a child
I'm surprised that the child doesn't terminate, since that is the action of the system default SIGHUP handler. If open or something else modifies that handler to keep the process running, this,
should make sure the child terminates right after the parent does.local $SIG{HUP} = sub { exit 0 };
After Compline,
Zaxo
|
|---|