Fix #1298 - Escape commands for PowerShell
This commit is contained in:
parent
f6af75aac4
commit
045c92ed65
4 changed files with 67 additions and 5 deletions
|
@ -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$'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue