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

Christopher Armstrong radeex at gmail.com
Wed Jul 28 05:12:48 EDT 2004

On Wed, 28 Jul 2004 17:07:36 +0800, Tsai Li Ming <mailinglist at ltsai.com> wrote:
> Ok. then how do I aviod using reactor.start() and reactor.stop() for
> getProcessOutut?

Well, since you're using twistd, the reactor is already running, so
you don't need to call reactor.run(). And you shouldn't be calling
reactor.stop(), because you said you didn't want to stop the reactor.

So, just don't call them. But the fact that I need to say something so
obvious makes me think I'm not grasping the whole picture. If my
explanation so far is insufficient, can you show more code?

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

More information about the Twisted-Python mailing list