[Twisted-Python] Re: Twisted as subprocess
Nicola Larosa
nico at tekNico.net
Wed May 25 00:10:37 MDT 2005
>> 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
Thanks, couldn't rgrep it in the sources to save my life. And there's an
example too (stdin.py), woohoo!
BTW, that was fast. :-)
--
Nicola Larosa - nico at tekNico.net
How can I in five minutes shift a lifetime's hidden pain?
-- Julia Fordham, Girlfriend, Porcelain, 1989
More information about the Twisted-Python
mailing list