catching the output of system()

Remco Gerlich scarblac at pino.selwerd.nl
Thu Apr 26 07:16:02 EDT 2001


Praveen Pathiyil <praveen.pathiyil at wipro.com> wrote in comp.lang.python:
>     I am trying to capture the output written to the stdout during an
> os.system() call. ( BTW i am trying to invoke the system tftp through
> os.system().)

This is what os.popen() is for.

-- 
Remco Gerlich



More information about the Python-list mailing list