0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.0863: cannot see what signal caused a job to end

Problem:    Cannot see what signal caused a job to end.
Solution:   Add "termsig" to job_info(). (Ozaki Kiichi, closes #3786)
This commit is contained in:
Bram Moolenaar
2019-01-31 15:52:11 +01:00
parent 221cd9f4dd
commit b3051ce82f
6 changed files with 65 additions and 3 deletions

View File

@@ -1550,7 +1550,10 @@ struct jobvar_S
char_u *jv_tty_in; /* controlling tty input, allocated */
char_u *jv_tty_out; /* controlling tty output, allocated */
jobstatus_T jv_status;
char_u *jv_stoponexit; /* allocated */
char_u *jv_stoponexit; /* allocated */
#ifdef UNIX
char_u *jv_termsig; /* allocated */
#endif
int jv_exitval;
char_u *jv_exit_cb; /* allocated */
partial_T *jv_exit_partial;