122
122
# Win32 doesn't support WNOHANG, so we just pass 0
123
123
opts = getattr(os, 'WNOHANG', 0)
127
125
# TODO: waitpid doesn't work well on windows, we might consider
128
126
# using WaitForSingleObject(proc._handle, TIMEOUT)
129
127
# instead. Most notably, the WNOHANG isn't allowed, so