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 9dfa0fe commit aca819fCopy full SHA for aca819f
Doc/library/asyncio-protocol.rst
@@ -406,15 +406,14 @@ Subprocess Transports
406
.. method:: SubprocessTransport.terminate()
407
408
Ask the subprocess to stop, as in :meth:`subprocess.Popen.terminate`.
409
- This method is an alias for the :meth:`close` method.
410
411
On POSIX systems, this method sends SIGTERM to the subprocess.
412
On Windows, the Windows API function TerminateProcess() is called to
413
stop the subprocess.
414
415
.. method:: SubprocessTransport.close()
416
417
- Ask the subprocess to stop by calling the :meth:`terminate` method
+ Kill the subprocess by calling the :meth:`kill` method
418
if the subprocess hasn't returned yet, and close transports of all
419
pipes (*stdin*, *stdout* and *stderr*).
420
0 commit comments