KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to start a program which needs several minutes to complete. During this time I want to read the progress message of the program (which are printed on the stdout). The problem is that I cannot find a way to read out its output during its run. The only function I found to read out the output of a program is Popen.communicate() , but this method waits until the process finishes. So it is impossible to get the progress and make it visible to the user in a special formatted way. Is it possible to do this another way? When I run the process with subprocess.popen with my script I see the output of the program on the screen. Is it possible to hide it? (Ubuntu 10.10, normal terminal)
Tags (comma-separated)
Save Edits
Cancel