Skip to content

Commit

Permalink
gh-87801: Add run() to subprocess.CalledProcessError description (GH-…
Browse files Browse the repository at this point in the history
…91628)

(cherry picked from commit 567be05)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
  • Loading branch information
miss-islington and slateny committed Apr 30, 2022
1 parent 2830543 commit 2e84e97
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Doc/library/subprocess.rst
Expand Up @@ -214,7 +214,9 @@ compatibility with older versions, see the :ref:`call-function-trio` section.
.. exception:: CalledProcessError

Subclass of :exc:`SubprocessError`, raised when a process run by
:func:`check_call` or :func:`check_output` returns a non-zero exit status.
:func:`check_call`, :func:`check_output`, or :func:`run` (with ``check=True``)
returns a non-zero exit status.


.. attribute:: returncode

Expand Down

0 comments on commit 2e84e97

Please sign in to comment.