Fix #1298 - Escape commands for PowerShell

This commit is contained in:
w0rp
2018-02-25 14:23:08 +00:00
parent af1b881c8b
commit c7a9ffcb9c
4 changed files with 66 additions and 4 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ function! ale#job#PrepareCommand(command) abort
" but we'll do this explicitly, so we use thes same exact command for both
" versions.
if ale#Has('win32')
return 'cmd /c ' . a:command
return 'cmd /s/c "' . a:command . '"'
endif
if &shell =~? 'fish$'