From: Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) Date: Fri, 3 Jun 2016 00:31:21 +0000 (+0000) Subject: Document that CalledProcessError.returncode is the negative X-Git-Tag: v3.5.2rc1~76 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=583a1d62402a500994734473d83af8aa36b45b82;p=thirdparty%2FPython%2Fcpython.git Document that CalledProcessError.returncode is the negative signal number when the process died due to a signal. --- diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 2ec94bfe138d..67bee40acb68 100644 --- a/Doc/library/subprocess.rst +++ b/Doc/library/subprocess.rst @@ -188,7 +188,8 @@ compatibility with older versions, see the :ref:`call-function-trio` section. .. attribute:: returncode - Exit status of the child process. + Exit status of the child process. If the process exited due to a + signal, this will be the negative signal number. .. attribute:: cmd