On Apr 16, 8:02 am, Rüdiger Ranft <_r...@web.de> wrote:
> Diez B. Roggisch schrieb:
>
> > 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 pr
> Rüdiger Ranft <_r...@web.de> (RR) wrote:
>RR> Hi all,
>RR> I need to call some programms and catch their stdout and stderr streams.
>RR> While the Popen class from subprocess handles the call, I get the
>RR> results of the programm not until the programm finishes. Since the
>RR> output of th
On Apr 16, 4:12 am, Rüdiger Ranft <_r...@web.de> wrote:
> 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 pro
Rüdiger Ranft wrote:
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 indicat
Rüdiger Ranft schrieb:
Diez B. Roggisch schrieb:
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 o
Diez B. Roggisch schrieb:
> 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 pr
Maybe try:
p = Popen('./iodummy',stdin=PIPE, stdout=PIPE, stderr=PIPE).p
(see "18.1.3.4. Replacing the os.spawn family" in
http://docs.python.org/library/subprocess.html)
Bye,
Ron.
> -Original Message-
> From: Rüdiger Ranft [mailto:_r...@web.de]
> Sent: Thursday, April 16, 2009 14:13
On Thu, Apr 16, 2009 at 12:12 PM, Rüdiger Ranft <_r...@web.de> wrote:
> 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
> ou
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 indic