Am 15.02.2012 13:42, schrieb mattn:
Patch:
shellcmdflag: /c (not sure if `/s /c' would make a difference,
I'd expect `/c' to always remove outer quotes)
shellxquote: "(
or maybe:
shellxquote: "(,)" (new syntax!)

Yeah, this works now (also did without patch 7.3.443):
user executes :!echo a&  echo b

I tried following.

C:\>copy c:\vim\vim.exe "my editor.exe"

C:\>cmd /c ("my editor.exe" "my filea.txt" a&  dir)

I thought your suggestion was
    C:\>cmd /c "("my editor.exe" "my filea.txt" a & dir)"

This works here.

# This is meaning that editing two files. If the editor exit, do dir. But...

C:\>cmd /s /c ("my editor.exe" "my filea.txt" a&  dir)
'dir)' is not recognized as an internal or external command,
operable program or batch file.

he, and (side note) the include-trailing-`)' bug is not specific to `echo' then.

Thus, I guess "/s" is needed.

C:\>cmd /s /c "("my editor.exe" "my filea.txt" a&  dir)"

ah, you now add quotes.  but for me this also works without /s .

This is working well. :)

Thanks.

--
Andy

--
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