Twisted ProcessProtocol and Nevow

Chris Hoge <[email protected]> Tue, 18 Apr 2006 10:18:12 -0700
Newsgroups gmane.comp.python.quotient.dev
Message-ID <[email protected]>
Hi,

I'm very new to Nevow and Twisted, so please forgive my ignorance on  
this issue. Last week I implemented a quick job server for a high- 
performance C++ application, the idea being that I wanted to be able  
to demo the app the users who might be reluctant to go to the trouble  
to download and install it. Twisted made it very easy to manage both  
the web server and the processes within the reactor, essentially by  
calling reactor.spawnProcess with a subclass of ProcessProtocol.

I've been refactoring my application with Nevow; it makes the  
handling of child resources very clean and easy, but I'm not sure how  
to access the functionality of spawnProcess within the nevow  
appserver framework. What am I missing? Can anyone point me in the  
right direction (even just showing me how to get at the Twisted  
reactor, if it's running in the Nevow framework, would be great).

Thanks a bunch,
Chris