summaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2011-07-07 16:20:52 +0200
committerBram Moolenaar <Bram@vim.org>2011-07-07 16:20:52 +0200
commit4b9669f1dc0b1f30a378624810ca144b9ca49a8e (patch)
tree0ece3d6ce68a283ebb37ccf0334a8a37c510e53c /src/ex_cmds.c
parent03a807aaf45e5f85a10cd3b0c4e4913d170f8f5a (diff)
downloadvim-4b9669f1dc0b1f30a378624810ca144b9ca49a8e.zip
updated for version 7.3.240
Problem: External commands can't use pipes on MS-Windows. Solution: Implement pipes and use them when 'shelltemp' isn't set. (Vincent Berthoux)
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 43e861ae8..954211385 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -1107,7 +1107,7 @@ do_filter(line1, line2, eap, cmd, do_in, do_out)
if (do_out)
shell_flags |= SHELL_DOOUT;
-#if !defined(USE_SYSTEM) && defined(UNIX)
+#if (!defined(USE_SYSTEM) && defined(UNIX)) || defined(WIN3264)
if (!do_in && do_out && !p_stmp)
{
/* Use a pipe to fetch stdout of the command, do not use a temp file. */