diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-05-05 21:01:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-05-05 21:01:00 +0200 |
commit | b0b98d523036d534755bf1cf79d1595e61c3f7ce (patch) | |
tree | 5ca3b11d4f59557fbacfe202ec574664d2132bf2 /src/proto | |
parent | b833c1ef7be1ed216a967dd7262473ec97084fa2 (diff) | |
download | vim-git-b0b98d523036d534755bf1cf79d1595e61c3f7ce.tar.gz |
patch 8.0.1795: lose contact with jobs when :gui forksv8.0.1795
Problem: Lose contact with jobs when :gui forks.
Solution: Don't fork when there is a running job. Make log message for a
died job clearer. Also close the terminal when stderr and stdout
are the same FD.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/channel.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/channel.pro b/src/proto/channel.pro index 2505df578..8d26158a5 100644 --- a/src/proto/channel.pro +++ b/src/proto/channel.pro @@ -54,6 +54,7 @@ void free_job_options(jobopt_T *opt); int get_job_options(typval_T *tv, jobopt_T *opt, int supported, int supported2); channel_T *get_channel_arg(typval_T *tv, int check_open, int reading, ch_part_T part); void job_free_all(void); +int job_any_running(void); int win32_build_cmd(list_T *l, garray_T *gap); void job_cleanup(job_T *job); int set_ref_in_job(int copyID); |