Problem: When starting job on MS-Windows all parts of the command are put
in quotes.
Solution: Only use quotes when needed. (Yasuhiro Matsumoto)
#ifdef USE_ARGV
argv[argc++] = (char *)s;
#else
- if (li != l->lv_first)
+ /* Only escape when needed, double quotes are not always allowed. */
+ if (li != l->lv_first && vim_strpbrk(s, (char_u *)" \t\"") != NULL)
{
s = vim_strsave_shellescape(s, FALSE, TRUE);
if (s == NULL)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1461,
/**/
1460,
/**/