Re: Tracking death of grand-child processes



Henrik Klinkmann wrote:
The following setup is used: My program (C++) starts a shell process,
which is used to start other programs, inside of it. All I'd really need is to know whenever a process, which has the
shell process as its parent, dies.

Normally you can't do this. I added support for SIGCHLD-like notification on arbitrary processes to a custom Linux kernel, but there we had the luxury of changing the kernel.


Can you start the other programs directly as suggested by Barry?

Chris
.