bruce wrote:
> toying with an idea.. trying to figure out a good/best way to spawn
> multiple python scripts from a parent python app. i'm trying to figure
> out how to determine when all child apps have completed, or to
> possibly determine if any of the child processes have died/halted..
You d
of time... it could kill the child...
>
> thoughts/comments...
>
> thanks
>
> -Original Message-
> From: python-list-bounces+bedouglas=earthlink@python.org
>
> [mailto:python-list-bounces+bedouglas=earthlink@python.org]on Behalf
> Of Jason Scheirer
> Sent: Friday
python-list-bounces+bedouglas=earthlink@python.org
[mailto:python-list-bounces+bedouglas=earthlink@python.org]on Behalf
Of Jason Scheirer
Sent: Friday, January 09, 2009 3:59 PM
To: python-list@python.org
Subject: Re: spawning pyhon apps...
On Jan 9, 3:43 pm, "bruce" wrote:
> hi jas
thon.org
>
> [mailto:python-list-bounces+bedouglas=earthlink....@python.org]on Behalf
> Of Jason Scheirer
> Sent: Friday, January 09, 2009 3:19 PM
> To: python-l...@python.org
> Subject: Re: spawning pyhon apps...
>
> On Jan 9, 2:47 pm, "bruce" wrote:
>
On Fri, Jan 9, 2009 at 3:43 PM, bruce wrote:
> hi jason
>
> forgive me... but in your sample:
>my_popenobjects = [subprocess.Popen("foo.py", "--filename=file
>%i.txt"%x) for x in xrange(10)]
> are you spawning 'foo.py' 10 times? that can't be right!
Indeed, it probably ought t
ing for child
processes to complete, or determine if they've terminated??
thanks
-Original Message-
From: python-list-bounces+bedouglas=earthlink@python.org
[mailto:python-list-bounces+bedouglas=earthlink@python.org]on Behalf
Of Jason Scheirer
Sent: Friday, January 09, 2009 3:
On Jan 9, 2:47 pm, "bruce" wrote:
> hi...
>
> toying with an idea.. trying to figure out a good/best way to spawn multiple
> python scripts from a parent python app. i'm trying to figure out how to
> determine when all child apps have completed, or to possibly determine if
> any of the child proce
On Fri, Jan 9, 2009 at 2:47 PM, bruce wrote:
> hi...
>
> toying with an idea.. trying to figure out a good/best way to spawn multiple
> python scripts from a parent python app. i'm trying to figure out how to
> determine when all child apps have completed, or to possibly determine if
> any of the
hi...
toying with an idea.. trying to figure out a good/best way to spawn multiple
python scripts from a parent python app. i'm trying to figure out how to
determine when all child apps have completed, or to possibly determine if
any of the child processes have died/halted..
parent app
spawn chi