add &shellquote to job cmd
This commit is contained in:
parent
8b900a5491
commit
7c62f29d62
@ -299,7 +299,7 @@ function! s:initialize_job(vcs) abort
|
|||||||
if has('nvim')
|
if has('nvim')
|
||||||
let cmd = &shell =~ 'cmd' ? vcs_cmd : ['sh', '-c', vcs_cmd]
|
let cmd = &shell =~ 'cmd' ? vcs_cmd : ['sh', '-c', vcs_cmd]
|
||||||
else
|
else
|
||||||
let cmd = join([&shell, &shellcmdflag, vcs_cmd])
|
let cmd = join([&shell, &shellcmdflag, &shellquote, vcs_cmd, &shellquote])
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
let cmd = ['sh', '-c', vcs_cmd]
|
let cmd = ['sh', '-c', vcs_cmd]
|
||||||
|
Loading…
Reference in New Issue
Block a user