# HG changeset patch # User Bram Moolenaar # Date 1564599606 -7200 # Node ID 9544335db00622091abf2a379ae5e7c6ba2e9c6a # Parent 4a005384ea43ab3df88bf18cfc89c3c9da82bf41 patch 8.1.1782: MS-Windows: system() has temp file error with 'noshelltemp' commit https://github.com/vim/vim/commit/0e6bfb9b2eb108d96a49ac4f8dc638c2eefeda2b Author: Bram Moolenaar 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) diff --git a/src/os_win32.c b/src/os_win32.c --- a/src/os_win32.c +++ b/src/os_win32.c @@ -4882,7 +4882,7 @@ mch_call_shell( # ifdef VIMDLL (gui.in_use || gui.starting) && # endif - STRCMP(p_shcf, "/c") == 0) + s_dont_use_vimrun && STRCMP(p_shcf, "/c") == 0) // workaround for the case that "vimrun" does not exist vim_snprintf((char *)newcmd, cmdlen, "%s %s %s %s %s", p_sh, p_shcf, p_sh, p_shcf, cmd); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -778,6 +778,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1782, +/**/ 1781, /**/ 1780,