We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d18dbad commit c19f370Copy full SHA for c19f370
autoload/javaunit/util.vim
@@ -41,18 +41,13 @@ function! javaunit#util#ExecCMD(cmd)
41
endfunction
42
43
function! s:EscapeCMD(cmd)
44
+ let cmd = a:cmd
45
if s:WINDOWS()
46
let cmd = substitute(a:cmd,' ','\\ ','g')
47
let cmd = substitute(cmd,'\','\\\','g')
48
let cmd = substitute(cmd,';','\\;','g')
49
let cmd = substitute(cmd, '\t', '\\t', 'g')
50
let cmd = substitute(cmd,':','\\:','g')
- else
51
- let cmd = substitute(a:cmd,' ','\\ ','g')
52
- let cmd = substitute(cmd,'\','\\\','g')
53
- let cmd = substitute(cmd,';','\\;','g')
54
- let cmd = substitute(cmd, '\t', '\\t', 'g')
55
- let cmd = substitute(cmd,':','\\:','g')
56
endif
57
return cmd
58
0 commit comments