Document that CalledProcessError.returncode is the negative

signal number when the process died due to a signal.
parent dd4fcf52
...@@ -188,7 +188,8 @@ compatibility with older versions, see the :ref:`call-function-trio` section. ...@@ -188,7 +188,8 @@ compatibility with older versions, see the :ref:`call-function-trio` section.
.. attribute:: returncode .. 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 .. attribute:: cmd
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment