[Twisted-Python] Re: reactor.stop stops entire twistd
Tsai Li Ming
mailinglist at ltsai.com
Wed Jul 28 06:40:52 EDT 2004
That makes sense. Don't we need to call the deferred object at some
point in time? Like reactor.callLater?
My apologies as I'm very new to Twisted.
Liming
Christopher Armstrong wrote:
> 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().
>
More information about the Twisted-Python
mailing list