mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
gh-87801: Add run() to subprocess.CalledProcessError description (#91628)
This commit is contained in:
parent
d7eb1ffbe8
commit
567be058b4
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