Comment 1 for bug 185601

Revision history for this message
Abdulaziz Ghuloum (aghuloum) wrote : Re: Need to be able to test if process failed

I agree this needs to be fixed. The solution that you posted has a problem with a race condition since by the time you do you (waitpid pid #f), the child may not have gotten a chance to exec, fail, and exit. I'll have to check with Steven's on the best way to do this.