which runs an external command without launching a cmd window. When I
tried it, however, I discovered that I cannot get the output of this
command to a temporary file using file redirection as I expected.
Looking at the help, it appears that this is intentional:
But you
should use this flag only if the application you run doesn't
require any
input. Otherwise it will get an EOF error because its input
stream
(stdin) would be redirected to \\.\NUL (stdoud and stderr too).
If it really is intentional that you cannot get the stdout output of
an external command, this should be documented, as it removes probably
the most common use case of external commands from working. If there
is actually some way to accomplish getting the stdout output of a
program without opening a cmd window, I'd sure like to know it!
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment