forked from aniani/vim
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 #4754)
This commit is contained in:
@@ -4882,7 +4882,7 @@ mch_call_shell(
|
|||||||
# ifdef VIMDLL
|
# ifdef VIMDLL
|
||||||
(gui.in_use || gui.starting) &&
|
(gui.in_use || gui.starting) &&
|
||||||
# endif
|
# endif
|
||||||
STRCMP(p_shcf, "/c") == 0)
|
s_dont_use_vimrun && STRCMP(p_shcf, "/c") == 0)
|
||||||
// workaround for the case that "vimrun" does not exist
|
// workaround for the case that "vimrun" does not exist
|
||||||
vim_snprintf((char *)newcmd, cmdlen, "%s %s %s %s %s",
|
vim_snprintf((char *)newcmd, cmdlen, "%s %s %s %s %s",
|
||||||
p_sh, p_shcf, p_sh, p_shcf, cmd);
|
p_sh, p_shcf, p_sh, p_shcf, cmd);
|
||||||
|
@@ -777,6 +777,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1782,
|
||||||
/**/
|
/**/
|
||||||
1781,
|
1781,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user