Fixed #402: /usr/bin/perl instead of perl

This commit is contained in:
Karl Yngve Lervåg 2016-04-01 10:21:43 +02:00
parent 9190e396af
commit 5cda0b3410

View File

@ -524,7 +524,7 @@ function! s:latexmk_set_pid() " {{{1
let pidinfo = split(system(pidcmd), '\n')[-1]
let b:vimtex.pid = str2nr(split(pidinfo,'\s\+')[1])
else
let b:vimtex.pid = str2nr(system('pgrep -nf "^perl.*latexmk"')[:-2])
let b:vimtex.pid = str2nr(system('pgrep -nf "perl.*latexmk"')[:-2])
endif
endfunction