diff options
author | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | 2016-06-03 00:31:21 +0000 |
---|---|---|
committer | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | 2016-06-03 00:31:21 +0000 |
commit | 583a1d62402a500994734473d83af8aa36b45b82 (patch) | |
tree | dc75fa85889e37f2668014f3349fd0d37c55bddb /Doc | |
parent | #26829: Clarify that namespace is copied to a new __dict__ in instance creation. (diff) | |
download | cpython-583a1d62402a500994734473d83af8aa36b45b82.tar.gz cpython-583a1d62402a500994734473d83af8aa36b45b82.tar.bz2 cpython-583a1d62402a500994734473d83af8aa36b45b82.zip |
Document that CalledProcessError.returncode is the negative
signal number when the process died due to a signal.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/subprocess.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst index 2ec94bfe138..67bee40acb6 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 |