popen4 doesn't block?
Terry Hancock
hancock at anansispaceworks.com
Fri Jan 24 20:56:01 EST 2003
Jp Calderone wrote:
> o, i = os.popen4(...)
> output = o.read()
>
> The call to o.read() will not return until the program's stdout has
> closed.
Thanks -- that may well be the solution, as it seems to work (I'm running
into another problem, which might just be a run-of-the-mill bug, but I'm
not sure what's going on yet).
Thanks for the help,
Terry
--
Anansi Spaceworks
http://www.anansispaceworks.com
More information about the Python-list
mailing list