diff options
| author | 2020-11-20 23:46:19 +0100 | |
|---|---|---|
| committer | 2020-11-20 23:47:18 +0100 | |
| commit | 162e669032f377e0ba3751ed5a924c84789696d8 (patch) | |
| tree | c6bdeaa6df8fc76bc95f21973a1cf44a261f2d48 /tests/api/test_eval.py | |
| parent | Document output truncation in README (diff) | |
Convert negative exit codes into standard form
When you send a signal `N` to a subprocess using Popen, it will return
`-N` as its exit code. As the rest of the code returns signal exit codes
as `128 + N`, we convert those negative exit codes into the standard
form used by the rest of the code.
Diffstat (limited to 'tests/api/test_eval.py')
0 files changed, 0 insertions, 0 deletions