[Python-Dev] os.wait unweirding

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 24 Sep 2002 10:20:08 +1200 (NZST)


Hunter Peress <hu.peress@mail.mcgill.ca>:

> I think that os.wait() without any arguments should wait
> for all chilren, not wait for the earliest executed child.

Actually, it waits for *any* one child to exit, not
necessarily the first one spawned.

In any case, the functions in the os module are supposed
to be direct wrappers of the platform's system calls.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+