Am 13.02.2012 02:27, schrieb mattn:
Sorry for delay for my checking this patch.
This break many behaviors to call external program on windows.
For example:
Since 7.3.433:
let command = 'openssl dgst -binary -sha1 -hmac "A&B"< c:/temp/foo.tmp'
let ret = system(command)
This was expanded to:
cmd /c openssl dgst -binary -sha1 -hmac "A&B"< c:/temp/foo.tmp
But After 7.3.433:
let command = 'openssl dgst -binary -sha1 -hmac "A&B"< c:/temp/foo.tmp'
let ret = system(command)
This will be expanded to:
cmd /s /c "openssl dgst -binary -sha1 -hmac "A&B"< c:/temp/foo.tmp"
Then, If XXX contains '&', it does not work correctly.
cmd /s /c "openssl dgst -binary -sha1 -hmac "A&B"< c:/temp/foo.tmp"
This is meaning:
cmd
/s
/c
"openssl dgst -binary -sha1 -hmac"A
&
B"< c:/temp/foo.tmp"
cmd.exe sux. Why isn't there the opposite of "/s" to keep quotation marks?
Could somebody please make a patch for cmd.exe?
er, forgot, close source :-(
--
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