in reply to Deamon: Need Child to exit if parent dies
Otherwise, you may be able to use a pipe between the parent and the child. The child should receive a SIGPIPE if it tries to read from the pipe after the parent died. But I haven't tried that in code.$SIG{CHLD} = sub {exit};
|
|---|