[issue32795] subprocess.check_output() with timeout does not exit if child process does not generate output after timeout
Mike Lewis
report at bugs.python.org
Thu Feb 8 04:12:59 EST 2018
Mike Lewis <mike.lewis at mavenwireless.com> added the comment:
Example of the output:
$ ./timeout.py
Subprocess with idle stdout at timeout: start at 1518081130.44
Timed out at: 1518081135.45, 5 seconds
Generating stdout from subprocess: start at 1518081135.45
Timed out at: 1518081136.47, 1 seconds
As you see, the 1 second timeout is respected in the second case where the child process is generating output.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32795>
_______________________________________
More information about the Python-bugs-list
mailing list