changeset: 101632:7b12180481da branch: 3.5 parent: 101628:754118f8b3ce user: Gregory P. Smith [Google Inc.] date: Fri Jun 03 00:31:21 2016 +0000 files: Doc/library/subprocess.rst description: Document that CalledProcessError.returncode is the negative signal number when the process died due to a signal. diff -r 754118f8b3ce -r 7b12180481da Doc/library/subprocess.rst --- a/Doc/library/subprocess.rst Thu Jun 02 20:05:43 2016 -0400 +++ b/Doc/library/subprocess.rst Fri Jun 03 00:31:21 2016 +0000 @@ -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