Last active
December 25, 2015 13:49
-
-
Save mopp/6987029 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let ps = vimproc#popen3('path/to/t_sample') | |
call ps.stdin.write('write_test!') | |
call ps.stdin.close() | |
" close無しだと以下のreadで空 | |
let output = ps.stdout.read() | |
echomsg " 2 stdout echos " . output | |
" finish | |
call ps.stdout.close() | |
call ps.stderr.close() | |
call ps.waitpid() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment