Mercurial > vim
diff src/ex_cmds.c @ 2935:bf283e37792b v7.3.240
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 07 Jul 2011 16:20:52 +0200 |
parents | d84a564f28c9 |
children | 0787bb5f387b |
line wrap: on
line diff
--- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -1107,7 +1107,7 @@ do_filter(line1, line2, eap, cmd, do_in, 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. */