Suppose I have a process which spawns exactly one child process. Now when the parent process exits for whatever reason (normally or abnormally, by kill, ^C, assert failure o
I've passed parent pid using environment to the child, then periodically checked if /proc/$ppid exists from the child.