[Twisted-Python] Twisted as subprocess

Nicola Larosa nico at tekNico.net
Tue May 24 23:36:36 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?

It's going to be spawned by the snmpd daemon of net-snmp, via the
pass_persist directive in snmpd.conf .

-- 
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