diff options
| author | Daniel Hahler <git@thequod.de> | 2019-08-09 15:34:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-09 15:34:06 +0200 |
| commit | 939d9053bdf2f56286640c581eb4e2ff5a856540 (patch) | |
| tree | 8ba6e3bbda157caad29732b0b619566037db1644 /src/nvim/event/process.h | |
| parent | fa0c677a63079e5d27ff037ea8f1e23a71fe6680 (diff) | |
| download | rneovim-939d9053bdf2f56286640c581eb4e2ff5a856540.tar.gz rneovim-939d9053bdf2f56286640c581eb4e2ff5a856540.tar.bz2 rneovim-939d9053bdf2f56286640c581eb4e2ff5a856540.zip | |
channels: reflect exit due to signals in exit status code (#10573)
Uses `128 + term_signal` in case of exit due to a signal.
Fixes https://github.com/neovim/neovim/issues/10571.
Diffstat (limited to 'src/nvim/event/process.h')
| -rw-r--r-- | src/nvim/event/process.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/event/process.h b/src/nvim/event/process.h index 13dc3839ce..ef9d953ab7 100644 --- a/src/nvim/event/process.h +++ b/src/nvim/event/process.h @@ -19,6 +19,7 @@ struct process { Loop *loop; void *data; int pid, status, refcount; + uint8_t exit_signal; // Signal used when killing (on Windows). uint64_t stopped_time; // process_stop() timestamp const char *cwd; char **argv; |