ok it seems this one work fine :
" Test Two let cmd1 = '!start cmd /c "cppCheck ' . a:dir . ' -a --enable=all -- template gcc 1> infos.txt 2> cppcheck.out' let cmd2 = '!start cmd /c "vim --servername ' . v:servername . ' -- remote-expr "GetAsyncText('."'infos.txt'". ')"' exec ' ' . cmd1 exec ' ' . cmd2 I enter in GetAsyncText(' before cmd1 as finished..... just a little problem of target file infos.txt -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php To unsubscribe from this group, send email to vim_use+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.