1
0
forked from aniani/vim

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

@@ -5745,6 +5745,11 @@ job_info([{job}]) *job_info()*
"exit_cb" function to be called on exit
"stoponexit" |job-stoponexit|
Only in Unix:
"termsig" the signal which terminated the process
(See |job_stop()| for the values)
only valid when "status" is "dead"
Without any arguments, returns a List with all Job objects.
job_setoptions({job}, {options}) *job_setoptions()*