summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-31 15:52:11 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-31 15:52:11 +0100
commitb3051ce82f2e8af95ce3b6a41867f70aee5ecc82 (patch)
tree52f4e45e4fc81f14d02414e5c9e18036ed026dcf /runtime
parent221cd9f4dd866503777b2fffa721c1403716ad63 (diff)
patch 8.1.0863: cannot see what signal caused a job to endv8.1.0863
Problem: Cannot see what signal caused a job to end. Solution: Add "termsig" to job_info(). (Ozaki Kiichi, closes #3786)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/eval.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt
index 46a503e889..d888d9c491 100644
--- a/runtime/doc/eval.txt
+++ b/runtime/doc/eval.txt
@@ -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()*