Ending 15 years of subprocess polling

24 points by sanxiyn


noncrab

I wonder why they went for polling here? From what I know, the self-pipe trick would have worked (ie: register a pipe endpoint with your event loop, register a SIGCHILD signal handler that writes to the other end of the pipe). But presumably, there's a good reason that nobody did that, so I'd love to hear what that is.