summaryrefslogtreecommitdiff
path: root/src/os_win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_win32.c')
-rw-r--r--src/os_win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_win32.c b/src/os_win32.c
index 102adb62c..5bff89ad3 100644
--- 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);