[Twisted-Python] Twisted as subprocess

Andrew Bennetts andrew-twisted at puzzling.org
Tue May 24 23:42:23 MDT 2005


On Wed, May 25, 2005 at 07:36:36AM +0200, Nicola Larosa wrote:
> I need to turn reactor.spawnProcess on its head.
> 
> That is, I need to run a Twisted-based program as a subprocess, getting
> requests on stdin and giving responses on stdout. How do I hook up the
> protocol and the rest?

Use twisted.internet.stdio

-Andrew.





More information about the Twisted-Python mailing list