Question: spawn and redirection

Ladvánszky Károly aa at bb.cc
Fri Feb 13 12:40:31 EST 2004


Thanks for your advice. os.system() is not suitable in all cases as it
always waits for the started process to terminate.

"Peter Hansen" <peter at engcorp.com> az alábbiakat írta a következo
hírüzenetben: 402CFAFD.1434C87F at engcorp.com...
> "Ladvánszky Károly" wrote:
> >
> > I'd like to redirect the program output into a file.
>
> I'd just us os.system then, as in
>
>  os.system('command >somefile')
>
> -Peter





More information about the Python-list mailing list