'shellslash' assumes that you are using a Unix-like shell. I don't see
how you can set 'shellslash' and use cmd.exe, many external commands
that use Windows commands or are handled by the shell will fail,
since all / in the argument are seen as flags.
Having the behavior depend on 'shellxquote' makes this more complicated,
I'm not sure if that is a good idea. It's hard to think of all the
possible combinations of commands (both shell and others) and what
arguments they take.
So why don't you use a Unix-like shell?
--
BRIDGEKEEPER: What is your favorite editor?
GAWAIN: Emacs ... No, Viiiiiiiiiiimmmmmmm!
"Monty Python and the Holy editor wars" PYTHON (MONTY) SOFTWARE LTD
/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
You didn't answer my question about why you don't use a Unix-like shell
while you do set 'shellslash'. That was the original purpose of this
option, you appear to be in a different situation. So why do you set
'shellslash' even though you are using cmd.exe? You use some Unix-like
utilities but not a Unix-like shell, that's a strange situation.
I don't like adding a side effect to the 'shellxquote' option. I'm not
sure there will be situations where 'shellxquote' is set or unset where
it should not have an effect on quoting in other places.
--
It is illegal for anyone to try and stop a child from playfully jumping over
puddles of water.
[real standing law in California, United States of America]
That depends on the command that's being run. There are still commands
which don't handle / as a path separator properly.
--
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jame...@jamessan.com>
[...]
It's in the todo list. So for none of the alternatives stand out as a
nice solution.
--
Living on Earth includes an annual free trip around the Sun.
/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///