mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) (#27327)
This fixes a small typo. The code fragment should not be quoted. Thank you
@merwok for the feedback.
(cherry picked from commit 7d25254cf0
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
This commit is contained in:
parent
0a08f22184
commit
5d9c86e340
1 changed files with 1 additions and 1 deletions
|
@ -662,7 +662,7 @@ execute, will be re-raised in the parent.
|
||||||
|
|
||||||
The most common exception raised is :exc:`OSError`. This occurs, for example,
|
The most common exception raised is :exc:`OSError`. This occurs, for example,
|
||||||
when trying to execute a non-existent file. Applications should prepare for
|
when trying to execute a non-existent file. Applications should prepare for
|
||||||
:exc:`OSError` exceptions. Note that, when ``"shell=True"``, :exc:`OSError`
|
:exc:`OSError` exceptions. Note that, when ``shell=True``, :exc:`OSError`
|
||||||
will be raised by the child only if the selected shell itself was not found.
|
will be raised by the child only if the selected shell itself was not found.
|
||||||
To determine if the shell failed to find the requested application, it is
|
To determine if the shell failed to find the requested application, it is
|
||||||
necessary to check the return code or output from the subprocess.
|
necessary to check the return code or output from the subprocess.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue