On Feb 23, 8:01 pm, mattn <[email protected]> wrote:
> > What exactly does that 'stdout and stderr' comment
> > actually mean?
>
> This is "sub-shell". In unix meanings, \\.\NUL is /dev/null.
>
> (ls > output.txt) 2>&1> /dev/null
>
> As you know, ':!start' is imitation of 'start' command in cmd.exe. So I'm
> thinking vim's behavor should be same as cmd's one.
> If typing below in cmd.exe, it works correctly.
>

So...you're saying that I can use redirection with :!start /b, if the
redirection is WITHIN a process started by the :!start command?

> C:\>start /b cmd /c echo 1vim_free | cscope -dl -f cscope.out |
> C:\cygwin-1.7\bin\sed --regexp-extended -e "s/(\S+) (\S+) ([0-9]+)/\1:\3 \2
>
> I hope that vim should get same result. And I'm thinking :help is enough to
> understand behavior currently.
>

I don't think the :help is clear enough to understand that right away.
If we can use redirection, we should not say redirection is not
available. We should say that if redirection is needed, you need to
create a new shell within the :!start command.

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui