Am 14.02.2012 11:31, schrieb RoDo:
echo system('echo a & echo b') fail
should escape &
echo system('echo a ^&  echo b') pass

omg:

C:\> echo a & echo b
a
b

C:\> cmd /c ( echo a & echo b )
b )

Looks like a bug with cmd.exe .
I guess it's specific to echo .
And it's quite an esoteric command line:
    somecmd & echo b

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