How to retrieve status of a child process without hanging father?

I’d like to launch a child process while doing another job and be able to check whether the child process has finished or not in the father process. I found that the WNOHANG option of waitpid helped not to wait for child completion while being able to track it. However, the status variable doesn’t change… Read More How to retrieve status of a child process without hanging father?