File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -406,15 +406,14 @@ Subprocess Transports
406
406
.. method :: SubprocessTransport.terminate()
407
407
408
408
Ask the subprocess to stop, as in :meth: `subprocess.Popen.terminate `.
409
- This method is an alias for the :meth: `close ` method.
410
409
411
410
On POSIX systems, this method sends SIGTERM to the subprocess.
412
411
On Windows, the Windows API function TerminateProcess() is called to
413
412
stop the subprocess.
414
413
415
414
.. method :: SubprocessTransport.close()
416
415
417
- Ask the subprocess to stop by calling the :meth: `terminate ` method
416
+ Kill the subprocess by calling the :meth: `kill ` method
418
417
if the subprocess hasn't returned yet, and close transports of all
419
418
pipes (*stdin *, *stdout * and *stderr *).
420
419
You can’t perform that action at this time.
0 commit comments