Fix #1298 - Escape commands for PowerShell

This commit is contained in:
w0rp 2018-01-17 18:08:17 +00:00
parent f6af75aac4
commit 045c92ed65
4 changed files with 67 additions and 5 deletions

View file

@ -205,7 +205,7 @@ function! ale#job#PrepareCommand(buffer, command) abort
" but we'll do this explicitly, so we use the same exact command for both
" versions.
if has('win32')
return 'cmd /c ' . l:command
return 'cmd /s/c "' . l:command . '"'
endif
if &shell =~? 'fish$'