En Wed, 08 Jul 2009 14:23:54 -0300, Emile van Sebille <em...@fenx.com> escribió:
On 7/8/2009 10:07 AM Lucas Junqueira said...

Hi, I'd like to run a simple windows command-line program from within my python script and agt all the returt it generates. Is this possible? How can I do it?

Depending on python version, look into subprocess, commands or os.pipe and related.

commands is Unix only, and os.pipe by itself doesn't solve the problem - so we are left with subprocess, and that would be my reccomendation too.

--
Gabriel Genellina

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

Reply via email to