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/gui.h | |
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/gui.h')
-rw-r--r-- | src/gui.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -564,3 +564,7 @@ typedef enum # define FUNC2GENERIC(func) G_CALLBACK(func) # endif #endif /* FEAT_GUI_GTK */ + +#if defined(UNIX) && !defined(FEAT_GUI_MAC) +# define GUI_MAY_FORK +#endif |