New answers tagged


godlygeek's answer is good for understanding how the system works but the subsequent question that inevitably follows is: How to determine if a process has gone away? The correct way to wait on a process in another process group or session is to use kill(). Obviously, that is an unintuitive answer. You can't use the wait family of functions because the ...

Top 50 recent answers are included