[Twisted-Python] Re: reactor.stop stops entire twistd

Christopher Armstrong radeex at gmail.com
Wed Jul 28 03:42:16 MDT 2004


On Wed, 28 Jul 2004 17:29:24 +0800, Tsai Li Ming <mailinglist at ltsai.com> wrote:
> Christopher,
> 
> We have the following class that is instantiated within the sever code
> that is using twistd to issue system calls.
[snip code...]
> 
> Since the reactor is already running, how do I actually use Deferred?

It looks like you just need to take out those calls to reactor.stop()
and reactor.run().

-- 
 Twisted | Christopher Armstrong: International Man of Twistery
  Radix  |          Release Manager,  Twisted Project
---------+            http://radix.twistedmatrix.com




More information about the Twisted-Python mailing list