Skip to content

Instantly share code, notes, and snippets.

@eagletmt
Created April 2, 2012 09:05
Show Gist options
  • Save eagletmt/2281904 to your computer and use it in GitHub Desktop.
Save eagletmt/2281904 to your computer and use it in GitHub Desktop.
function! VP()
let l:proc = vimproc#popen2(['/bin/echo', 'hoge'])
call system('/bin/sleep 3')
call l:proc.checkpid()
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment