Mercurial > hg
diff tests/sshprotoext.py @ 37462:c0d0fd87ba7c
procutil: do not convert return code of signal exit to positive number (API)
The docstring states that "codes from kill are negative", and it doesn't
make sense to make exit/signal code ambiguous.
.. api::
``hook.hook()`` and ``hook.runhooks()`` may return a negative integer
to denote that the process was killed by signal.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 07 Apr 2018 21:21:03 +0900 |
parents | 464bedc0fdb4 |
children | b4d85bc122bd |