Subject: Re: [Tutor] Popen and sending output to a file
On Wed, 19 Jan 2005, Ertl, John wrote:
> 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
On Wed, 19 Jan 2005, Ertl, John wrote:
> 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
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 i