Re: spawning pyhon apps...

2009-01-09 Thread Mark Wooding
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

Re: spawning pyhon apps...

2009-01-09 Thread Jason Scheirer
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

RE: spawning pyhon apps...

2009-01-09 Thread bruce
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

Re: spawning pyhon apps...

2009-01-09 Thread Jason Scheirer
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: >

Re: spawning pyhon apps...

2009-01-09 Thread Chris Rebert
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

RE: spawning pyhon apps...

2009-01-09 Thread bruce
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:

Re: spawning pyhon apps...

2009-01-09 Thread Jason Scheirer
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

Re: spawning pyhon apps...

2009-01-09 Thread Chris Rebert
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

spawning pyhon apps...

2009-01-09 Thread bruce
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