[issue25960] Popen.wait() hangs when called from a signal handler when os.waitpid(pid, os.WNOHANG) does not

2015-12-27 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: -> wont fix status: open -> closed title: Popen.wait() hangs with SIGINT when os.waitpid() does not -> Popen.wait() hangs when called from a signal handler when os.waitpid(pid, os.WNOHANG) does not ___ P

[issue25960] Popen.wait() hangs when called from a signal handler when os.waitpid(pid, os.WNOHANG) does not

2015-12-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks for looking into this so quickly. > os.waitpid(p.pid, 1) is os.waitpid(p.pid, os.WNOHANG) which is a non-blocking > operation so it works. For the record, it also works with "os.waitpid(p.pid, 0)." I should have written 0 the first time. Does your po