parent
1b6c0cbfb6
commit
5ceabc6e6a
@ -1901,7 +1901,7 @@ function! s:ReplaceCmd(cmd,...) abort
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
if &shell =~# 'cmd'
|
if &shell =~# 'cmd'
|
||||||
call system('cmd /c "'.prefix.a:cmd.' > '.tmp.'"')
|
call system('cmd /c "'.prefix.s:gsub(a:cmd,'[<>]', '^^^&').' > '.tmp.'"')
|
||||||
else
|
else
|
||||||
call system(' ('.prefix.a:cmd.' > '.tmp.') ')
|
call system(' ('.prefix.a:cmd.' > '.tmp.') ')
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user