]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-24888: Clarify subprocess.check_call propagates exceptions if unable to start...
authorDonnaDia <37962843+DonnaDia@users.noreply.github.com>
Tue, 7 Sep 2021 18:16:44 +0000 (21:16 +0300)
committerGitHub <noreply@github.com>
Tue, 7 Sep 2021 18:16:44 +0000 (20:16 +0200)
Doc/library/subprocess.rst

index af5463364c44b592a340b779a749a2ec44b72334..21a96a4bd5ff5d415b93436a5d30725d700b1030 100644 (file)
@@ -1149,6 +1149,8 @@ calls these functions.
    code was zero then return, otherwise raise :exc:`CalledProcessError`. The
    :exc:`CalledProcessError` object will have the return code in the
    :attr:`~CalledProcessError.returncode` attribute.
+   If :func:`check_call` was unable to start the process it will propagate the exception
+   that was raised.
 
    Code needing to capture stdout or stderr should use :func:`run` instead::