mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Document that CalledProcessError.returncode is the negative
signal number when the process died due to a signal.
This commit is contained in:
parent
dd4fcf52f4
commit
583a1d6240
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue