Re: Custom Formatting The Output Of subprocess.Popen

2008-11-22 Thread thedsadude
> regards >  Steve > -- > Steve Holden        +1 571 484 6266   +1 800 494 3119 > Holden Web LLC              http://www.holdenweb.com/ Thanks all for your help! Bye, TD -- http://mail.python.org/mailman/listinfo/python-list

Re: Custom Formatting The Output Of subprocess.Popen

2008-11-21 Thread thedsadude
On Nov 21, 8:50 pm, Scott David Daniels <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > >   Hello, > > >   I'm launching a script as follows: > > > > p = subprocess.Popen(['./p.py', 'aa']) > > > p.wait() > > > > >   If p.py writes to sys.stdout, then it is shown on the console > > You

Custom Formatting The Output Of subprocess.Popen

2008-11-21 Thread thedsadude
Hello, I'm launching a script as follows: p = subprocess.Popen(['./p.py', 'aa']) p.wait() If p.py writes to sys.stdout, then it is shown on the console. Looking at the console, then, it is hard to distinguish the output of p.py from that of the script launching it. I'd like to do it so t