win32: Wrap bg cmd in quotes
This commit is contained in:
parent
c12ae33353
commit
24a03920fe
@ -124,14 +124,15 @@ function! latex#util#execute(exe) " {{{1
|
||||
|
||||
" Set up command string based on the given system
|
||||
if has('win32')
|
||||
if bg
|
||||
let cmd = '!start /b ' . a:exe.cmd
|
||||
else
|
||||
let cmd = '!' . a:exe.cmd
|
||||
endif
|
||||
let cmd = a:exe.cmd
|
||||
if null
|
||||
let cmd .= ' >nul'
|
||||
endif
|
||||
if bg
|
||||
let cmd = '!start /b "' . cmd . '"'
|
||||
else
|
||||
let cmd = '!' . cmd
|
||||
endif
|
||||
else
|
||||
let cmd = '!' . a:exe.cmd
|
||||
if null
|
||||
|
Loading…
x
Reference in New Issue
Block a user