I can't use the subprocess module because my app needs to be compatible with
Python 2.3 so, is there another approach to this problem???

Thanks!

On 1/26/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote:

"Raúl Gómez C." <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]

> I'm trying to make my apps more informative to the user, so I want to
know
> if its possible to get the output of the execution of a console command
> while it's been generated, I mean, I want to get the output from
> commands.getstatusoutput('CMD') while CMD it's been executed and not
wait
> until CMD have finished (because CMD take very long time to).

Use the subprocess module and read line by line.

--
Gabriel Genellina


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

Reply via email to