capture stdout from wakatime-cli to fix #32

This commit is contained in:
Alan Hamlett 2016-09-17 17:08:58 +02:00
parent 13ecf56872
commit 927ba8d229
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ let s:VERSION = '4.0.12'
if has('win32') || has('win64')
exec 'silent !start /min cmd /c "' . s:JoinArgs(cmd) . '"'
else
exec 'silent !' . s:JoinArgs(cmd) . ' &'
let stdout = system(s:JoinArgs(cmd) . ' &')
endif
call s:SetLastHeartbeat(a:time, a:time, file)
endif