]> granicus.if.org Git - vim/commit
patch 9.0.1377: job_status() may return "dead" if the process parent changed v9.0.1377
authorBram Moolenaar <Bram@vim.org>
Sat, 4 Mar 2023 13:23:26 +0000 (13:23 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 4 Mar 2023 13:23:26 +0000 (13:23 +0000)
commit5c6a3c9bad67c2ce766f55dbecb3461f14833a42
tree821b3cf2c74239cdedfdfb9455232449a4753160
parent1c73b65229c25e3c1fd8824ba958f7cc4d604f9c
patch 9.0.1377: job_status() may return "dead" if the process parent changed

Problem:    job_status() may return "dead" if the process parent changed.
Solution:   Call mch_process_running() to check if the job is still alive.
src/os_unix.c
src/version.c