Hello!

I've been researching how best to escape system() commands.

So far, in order to find out what string Vim constructs and passes to the 
shell, I've been setting `verbose` to 4 and looking at the '"Calling shell to 
execute: "..."' output in `:messages`.

However I'm beginning to wonder whether the output truly reflects what Vim is 
doing.  For example, is the `shellxquote` character always included?  As far as 
I can tell, it is on MacVim but I think it may not be on Win7/Win8 gVim.

Also, the docs state that `shellxquote` is the quoting character(s) put around 
the command passed to the shell, including redirection.  However in my tests 
the redirection is placed outside the `shellxquote` character (with 
`shellxquote` set to `(` and `shellquote` empty).

Finally, is there a way to see the full command used by Vim, including `shell` 
and `shellcmdflag`?

Thanks in advance,

Andy Stewart

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui