A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-September/028835.html below:

[Python-Dev] os.wait unweirding. impetus

[Python-Dev] os.wait unweirding. impetus [Python-Dev] os.wait unweirding. impetusHunter Peress hu.peress@mail.mcgill.ca
23 Sep 2002 11:00:12 -0500
The idea came from bash.
where the wait command will wait for all child processes.

Its clearly doable.
On Mon, 2002-09-23 at 10:42, Guido van Rossum wrote:
> > for i in a:
> >   print os.spawnv(os.P_NOWAIT,scr,["",str(i)])
> > 
> > for i in a:
> >   os.wait()
> > 
> > you have to do the second loop in order to wait for all children that u
> > spawned off. I think that os.wait() without any arguments should wait
> > for all chilren, not wait for the earliest executed child.
> 
> Go talk to the designers of Unix and the POSIX standard committee.
> 
> --Guido van Rossum (home page: http://www.python.org/~guido/)
> 





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4