[Python-checkins] cpython (3.5): Document that CalledProcessError.returncode is the negative
gregory.p.smith
python-checkins at python.org
Thu Jun 2 20:31:36 EDT 2016
https://hg.python.org/cpython/rev/7b12180481da
changeset: 101632:7b12180481da
branch: 3.5
parent: 101628:754118f8b3ce
user: Gregory P. Smith <greg at krypto.org> [Google Inc.]
date: Fri Jun 03 00:31:21 2016 +0000
summary:
Document that CalledProcessError.returncode is the negative
signal number when the process died due to a signal.
files:
Doc/library/subprocess.rst | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Doc/library/subprocess.rst b/Doc/library/subprocess.rst
--- a/Doc/library/subprocess.rst
+++ b/Doc/library/subprocess.rst
@@ -188,7 +188,8 @@
.. 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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list