There's presumably a communication channel (a pipe?) between the parent and the child. You could periodically check the status of the communication channel.
If your communication channel is a pipe, then all you have to do is suicide when you receive a SIGPIPE signal. I think that might even be the default action! (This won't work in Windows.)
In reply to Re: Child process dies
by ikegami
in thread Child process dies
by dejans
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |