commit | 583a1d62402a500994734473d83af8aa36b45b82 | [log] [tgz] |
---|---|---|
author | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | Fri Jun 03 00:31:21 2016 +0000 |
committer | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | Fri Jun 03 00:31:21 2016 +0000 |
tree | dc75fa85889e37f2668014f3349fd0d37c55bddb | |
parent | dd4fcf52f41116479c8d337b0dcfae2287d6ae4d [diff] |
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 2ec94bf..67bee40 100644 --- 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