Created
November 6, 2017 20:19
-
-
Save sgherbst/6488c780256fca3b31e8df7d552f2841 to your computer and use it in GitHub Desktop.
vvp realtime output issue
This file contains hidden or 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
| import subprocess | |
| with subprocess.Popen('./a.out', stdout=subprocess.PIPE) as p: | |
| for line in p.stdout: | |
| print(line.decode(), end='') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment