how do I know when popen() finishes?
jschmitt at vmlabs.com
jschmitt at vmlabs.com
Tue Oct 10 21:48:45 EDT 2000
I'm using Python 2.0b2 on Wind2000.
If I do something like
import os
f = os.popen( 'busyprogram' )
how do I retrieve all the output that busyprogram produces when
busyprogram finishes? Do I busy wait on f.read(), ie, wait for end of
file? Does f.close() do the same thing as pclose(f)?
Thanks.
John
Sent via Deja.com http://www.deja.com/
Before you buy.
More information about the Python-list
mailing list