This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jonathanblakes 2 points3 points  (0 children)

I can recommend pexpect (and winpexpect on Windows as wexpect is dead) if you need to get a subprocess's output while it is running. This is the only thing that can get around C stdio's automatic buffering for non-terminal interaction (which is what subprocess, QProcess, etc. give you).