Re: Queued stdout, flush() doesn't seems to help...

2005-03-08 Thread Dave Lajoie
- Original Message - From: Dave Lajoie To: Python-list@python.org Sent: Tuesday, March 08, 2005 12:03 AM Subject: Queued stdout, flush() doesn't seems to help... Hello Everyone,   I have been using this piece of code to start an exec and "process"

Queued stdout, flush() doesn't seems to help...

2005-03-07 Thread Dave Lajoie
Hello Everyone,   I have been using this piece of code to start an exec and "process" its stdout/stderror   import sysimport popen2 executable = r'execfile -arg1 -arg2'r, w, e = popen2.popen3(executable)r.flush()w.flush()e.flush() x=0 # just print the 1000 first lineswhile x<1000:    sys.std