comparison src/misc2.c @ 17028:70933f7b5de4 v8.1.1514

patch 8.1.1514: MS-Windows: wrong shell command with ! in 'guioptions' commit https://github.com/vim/vim/commit/01257a7a8e231904ff73fae1f7783e0b6eb4d5aa Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 10 14:46:04 2019 +0200 patch 8.1.1514: MS-Windows: wrong shell command with ! in 'guioptions' Problem: MS-Windows: wrong shell command with ! in 'guioptions'. Solution: Do not check for ! in 'guioptions' when applying 'shellxquote'. (Yasuhiro Matsumoto, closes #4519)
author Bram Moolenaar <Bram@vim.org>
date Mon, 10 Jun 2019 15:00:06 +0200
parents 63b3e1c80175
children 3e5ee8ce4671
comparison
equal deleted inserted replaced
17027:7fe42541f4d5 17028:70933f7b5de4
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 || (
3257 # ifdef VIMDLL
3258 gui.in_use &&
3259 # endif
3260 vim_strchr(p_go, GO_TERMINAL) != NULL)
3261 #endif
3262 )
3263 retval = mch_call_shell(cmd, opt); 3255 retval = mch_call_shell(cmd, opt);
3264 else 3256 else
3265 { 3257 {
3266 char_u *ecmd = cmd; 3258 char_u *ecmd = cmd;
3267 3259