mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-10 21:42:31 +08:00
Fix #1298 - Escape commands for PowerShell
This commit is contained in:
@@ -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$'
|
||||
|
||||
Reference in New Issue
Block a user