Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Doc/library/asyncio-protocol.rst
Original file line number Diff line number Diff line change
Expand Up @@ -406,15 +406,14 @@ Subprocess Transports
.. method:: SubprocessTransport.terminate()

Ask the subprocess to stop, as in :meth:`subprocess.Popen.terminate`.
This method is an alias for the :meth:`close` method.

On POSIX systems, this method sends SIGTERM to the subprocess.
On Windows, the Windows API function TerminateProcess() is called to
stop the subprocess.

.. method:: SubprocessTransport.close()

Ask the subprocess to stop by calling the :meth:`terminate` method
Kill the subprocess by calling the :meth:`kill` method
if the subprocess hasn't returned yet, and close transports of all
pipes (*stdin*, *stdout* and *stderr*).

Expand Down