comparison src/os_win32.c @ 17569:9544335db006 v8.1.1782

patch 8.1.1782: MS-Windows: system() has temp file error with 'noshelltemp' commit https://github.com/vim/vim/commit/0e6bfb9b2eb108d96a49ac4f8dc638c2eefeda2b Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 31 20:53:56 2019 +0200 patch 8.1.1782: MS-Windows: system() has temp file error with 'noshelltemp' Problem: MS-Windows: system() has temp file error with 'noshelltemp'. Solution: Check s_dont_use_vimrun. (Ken Takata, closes https://github.com/vim/vim/issues/4754)
author Bram Moolenaar <Bram@vim.org>
date Wed, 31 Jul 2019 21:00:06 +0200
parents 372f2eaa544a
children 8b4f9be5db73
comparison
equal deleted inserted replaced
17568:4a005384ea43 17569:9544335db006
4880 p_sh, p_shcf, cmd); 4880 p_sh, p_shcf, cmd);
4881 else if ( 4881 else if (
4882 # ifdef VIMDLL 4882 # ifdef VIMDLL
4883 (gui.in_use || gui.starting) && 4883 (gui.in_use || gui.starting) &&
4884 # endif 4884 # endif
4885 STRCMP(p_shcf, "/c") == 0) 4885 s_dont_use_vimrun && STRCMP(p_shcf, "/c") == 0)
4886 // workaround for the case that "vimrun" does not exist 4886 // workaround for the case that "vimrun" does not exist
4887 vim_snprintf((char *)newcmd, cmdlen, "%s %s %s %s %s", 4887 vim_snprintf((char *)newcmd, cmdlen, "%s %s %s %s %s",
4888 p_sh, p_shcf, p_sh, p_shcf, cmd); 4888 p_sh, p_shcf, p_sh, p_shcf, cmd);
4889 else 4889 else
4890 #endif 4890 #endif