[Python-Dev] Inconsistent behaviour of methods waiting for child process
Richard Oudkerk
shibturn at gmail.com
Tue Jan 22 18:35:06 CET 2013
On 22/01/2013 12:16pm, Marcin Szewczyk wrote:
> The 1) case is very impractical.
>
> Is there any movement towards standardization of those 3?
>
> Am I missing something and there is a way to get more information from
> Process.join()?
With Process.join(), it looks like version 2.6 raises OSError but later
versions do not. Could you file an issue at bugs.python.org?
You can work around the problem by checking the exitcode attribute, e.g.
while proc.exitcode is None:
proc.join()
--
Richard
More information about the Python-Dev
mailing list