I am using the subprocess.Popen from 2.4.  I can launch a job from python
and the output from the job goes to the screen but now I would like to have
the output go to a file.  I could do the crude 

subprocess.Popen("dtg | cat > job.out", shell=True)

But I would think there is a better way built into Popen but I could not
figure out the documentation.

Any help would be appreciated.

John
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to