Re: [Twisted-Python] Launching Twisted client using Process call

2009-11-24 Thread exarkun
On 10:59 am, naman...@gmail.com wrote: >Please could I get some help on this issue, if any one has some ideas. Can you produce a short, self-contained, correct example () of the problem you're having? Jean-Paul ___ Twisted-Python ma

Re: [Twisted-Python] Launching Twisted client using Process call

2009-11-24 Thread naman jain
Please could I get some help on this issue, if any one has some ideas. Thanks Naman On Tue, Nov 17, 2009 at 3:30 PM, David Ripton wrote: > On 2009.11.17 07:07:50 +0100, naman jain wrote: > > I try to launch it as a Process: > > foo = Process( target=twisted_client.main, args=(q,uid,)) > > f

Re: [Twisted-Python] Launching Twisted client using Process call

2009-11-20 Thread naman jain
Just to add to the previous post: >>foo = Process(target=build_worker.main, args=(build_q,uid,)) is the statement I want to replace (because it is unreliable), with something other that reactor.spawnprocess as there is no reactor in the calling script. Thanks Naman On Tue, Nov 17, 2009 at 3:30

Re: [Twisted-Python] Launching Twisted client using Process call

2009-11-20 Thread naman jain
Hi, Thanks for the reply. I actually came across Process documentation for twisted; but in my case my the script which calls the twisted client is not implemented in Twisted It is just a controller program which instantiates a central repository and spawns off 2 threads and then the threads update

Re: [Twisted-Python] Launching Twisted client using Process call

2009-11-17 Thread David Ripton
On 2009.11.17 07:07:50 +0100, naman jain wrote: > I try to launch it as a Process: > foo = Process( target=twisted_client.main, args=(q,uid,)) > foo.start() > foo.join() > status = q.get() > Launching the client in this manner, is not showing reliable results. You didn't give a long enoug

[Twisted-Python] Launching Twisted client using Process call

2009-11-16 Thread naman jain
Hi , I have a twisted client server model running. My requirement is to launch my client from another program based on some event received by the master program. I try to launch it as a Process: foo = Process( target=twisted_client.main, args=(q,uid,)) foo.start() foo.join() status = q.ge