[issue5673] Add timeout option to subprocess.Popen

Antoine Pitrou 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?

Yes.

> 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>
<http://bugs.python.org/issue5673>
_______________________________________


More information about the Python-bugs-list mailing list