We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
input
communicate()
1 parent de856d9 commit 767b951Copy full SHA for 767b951
Doc/library/subprocess.rst
@@ -831,7 +831,9 @@ Instances of the :class:`Popen` class have the following methods:
831
832
If the process does not terminate after *timeout* seconds, a
833
:exc:`TimeoutExpired` exception will be raised. Catching this exception and
834
- retrying communication will not lose any output.
+ retrying communication will not lose any output. Supplying *input* to a
835
+ subsequent post-timeout :meth:`communicate` call is in undefined behavior
836
+ and may become an error in the future.
837
838
The child process is not killed if the timeout expires, so in order to
839
cleanup properly a well-behaved application should kill the child process and
0 commit comments