comparison src/misc2.c @ 16984:d4ecdb8a4c58 v8.1.1492

patch 8.1.1492: MS-Windows: when "!" is in 'guioptions' ":!start" fails commit https://github.com/vim/vim/commit/7c348bb5ad106cfa35dd45560c5ac5d3c8496c96 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 8 12:05:22 2019 +0200 patch 8.1.1492: MS-Windows: when "!" is in 'guioptions' ":!start" fails Problem: MS-Windows: when "!" is in 'guioptions' ":!start" fails. Solution: Do not use a terminal window when the shell command begins with "!start". (Yasuhiro Matsumoto, closes #4504)
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Jun 2019 12:15:08 +0200
parents 998603a243d7
children 63b3e1c80175
comparison
equal deleted inserted replaced
16983:03d245d277fe 16984:d4ecdb8a4c58
3249 ++hold_gui_events; 3249 ++hold_gui_events;
3250 #endif 3250 #endif
3251 /* The external command may update a tags file, clear cached tags. */ 3251 /* The external command may update a tags file, clear cached tags. */
3252 tag_freematch(); 3252 tag_freematch();
3253 3253
3254 if (cmd == NULL || *p_sxq == NUL) 3254 if (cmd == NULL || *p_sxq == NUL
3255 #if defined(FEAT_GUI_MSWIN) && defined(FEAT_TERMINAL)
3256 || vim_strchr(p_go, GO_TERMINAL) != NULL
3257 #endif
3258 )
3255 retval = mch_call_shell(cmd, opt); 3259 retval = mch_call_shell(cmd, opt);
3256 else 3260 else
3257 { 3261 {
3258 char_u *ecmd = cmd; 3262 char_u *ecmd = cmd;
3259 3263