[issue5673] Add timeout option to subprocess.Popen
report at bugs.python.org
Thu Feb 4 21:11:19 CET 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> I agree. Does subprocess.TimeoutExpired sound good?
> It won't be possible with the current implementation to put the partial output
> in the exception, because read blocks.
Fair enough :)
> I think call and check_call should clean up after themselves by
> killing the child processes they create, while communicate and wait should leave
> that to the user.
It sounds good.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list