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.
1 parent 981ce0c commit 3e2c557Copy full SHA for 3e2c557
Doc/library/subprocess.rst
@@ -846,6 +846,11 @@ Instances of the :class:`Popen` class have the following methods:
846
proc.kill()
847
outs, errs = proc.communicate()
848
849
+ After a call to :meth:`~Popen.communicate` raises :exc:`TimeoutExpired`, do
850
+ not call :meth:`~Popen.wait`. Use an additional :meth:`~Popen.communicate`
851
+ call to finish handling pipes and populate the :attr:`~Popen.returncode`
852
+ attribute.
853
+
854
.. note::
855
856
The data read is buffered in memory, so do not use this method if the data
0 commit comments