Created
January 21, 2017 13:15
-
-
Save mattn/5df218f6d8cdf06a0c0ade718a55258d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/autoload/quickrun/runner/job.vim b/autoload/quickrun/runner/job.vim | |
index 96e0921..9184f68 100644 | |
--- a/autoload/quickrun/runner/job.vim | |
+++ b/autoload/quickrun/runner/job.vim | |
@@ -23,7 +23,7 @@ endfunction | |
function! s:runner.run(commands, input, session) abort | |
let command = join(a:commands, ' && ') | |
- let cmd_arg = s:is_win ? ['cmd.exe', '/c', command] | |
+ let cmd_arg = s:is_win ? "cmd.exe /c ^" . command | |
\ : ['sh', '-c', command] | |
let options = { | |
\ 'mode': 'raw', |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment