Rüdiger Ranft schrieb:
Hi all,

I need to call some programms and catch their stdout and stderr streams.
While the Popen class from subprocess handles the call, I get the
results of the programm not until the programm finishes. Since the
output of the programm is used to generate a progress indicator, I need
a way to acces the values written to stdout/stderr as fast as possible.

Use the communicate()-method of Popen-objects.

Diez
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to