From 534b02a0cb23429cd65364d91194cb0af31bd6a6 Mon Sep 17 00:00:00 2001 From: Jack DeVries Date: Thu, 22 Jul 2021 18:07:57 -0400 Subject: [PATCH] bpo-44713: [doc fix]: typo in subprocess.rst --- Doc/library/subprocess.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 6c127dcfd45438..a95047433d240e 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -689,7 +689,7 @@ execute, will be re-raised in the parent. The most common exception raised is :exc:`OSError`. This occurs, for example, 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. To determine if the shell failed to find the requested application, it is necessary to check the return code or output from the subprocess.