diff --git a/autoload/vimtex/latexmk.vim b/autoload/vimtex/latexmk.vim index 5c38de3..7a09d8c 100644 --- a/autoload/vimtex/latexmk.vim +++ b/autoload/vimtex/latexmk.vim @@ -409,7 +409,7 @@ function! s:latexmk_build_cmd(data) " {{{1 let cmd .= ' >' . tmp let cmd = 'cmd /s /c "' . cmd . '"' else - let cmd .= ' &>' . tmp + let cmd .= ' >' . tmp . ' 2>&1' endif endif diff --git a/autoload/vimtex/util.vim b/autoload/vimtex/util.vim index 4a018da..e2ce67d 100644 --- a/autoload/vimtex/util.vim +++ b/autoload/vimtex/util.vim @@ -132,7 +132,7 @@ function! vimtex#util#execute(exe) " {{{1 endif else if null - let cmd .= ' &>/dev/null' + let cmd .= ' >/dev/null 2>&1' endif if bg let cmd .= ' &'