Skip to content

Commit d18dbad

Browse files
committed
Use system() in windows
1 parent a30103a commit d18dbad

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

autoload/javaunit/util.vim

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ function! javaunit#util#Psep() abort
3333
endfunction
3434

3535
function! javaunit#util#ExecCMD(cmd)
36+
if s:WINDOWS()
37+
echomsg system(a:cmd)
38+
else
3639
call unite#start([['output/shellcmd', s:EscapeCMD(a:cmd)]], {'log': 1, 'wrap': 1})
40+
endif
3741
endfunction
3842

3943
function! s:EscapeCMD(cmd)

0 commit comments

Comments
 (0)