how do I know when popen() finishes?

Mark Hadfield m.hadfield at niwa.cri.nz
Wed Oct 11 17:29:10 EDT 2000


> Note that popen is only for UNIX platforms.

No, it does work on Windows in version 2.0 (I have been using popen & popen3
recently on 2.0b2, NT4).

I have found exit codes (returned as the value of the close method on the
pipe) to be somewhat unpredictable, but otherwise no problem.

---
Mark Hadfield
m.hadfield at niwa.cri.nz  http://katipo.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand

Hi! I'm a .signature virus! copy me into your .signature file to help me
spread!






More information about the Python-list mailing list