From: slateny <46876382+slateny@users.noreply.github.com> Date: Sat, 30 Apr 2022 21:32:00 +0000 (-0700) Subject: gh-87801: Add run() to subprocess.CalledProcessError description (#91628) X-Git-Tag: v3.11.0b1~162 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=567be058b403db9689af45bf831d4c732c8b1105;p=thirdparty%2FPython%2Fcpython.git gh-87801: Add run() to subprocess.CalledProcessError description (#91628) --- diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 6a334acc5a17..1e619a51e216 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -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