mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
gh-87801: Add run() to subprocess.CalledProcessError description (GH-91628)
(cherry picked from commit 567be058b4
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
This commit is contained in:
parent
cfcda0acf2
commit
335aae1950
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue