[Twisted-Python] Process Producer, Request Consumer

Kevin Turner acapnotic at twistedmatrix.com
Sat Nov 17 12:26:35 MST 2001


So somebody asked on the channel today, "how do I get the output of a
system command displayed on my .epy web page?"
Basically, the <!--#exec cmd="foo" --> type of thing, if I remember my
SSI.

Now, given the pieces that are in Twisted, it seems like this should be
at most two lines long:
1) create Process
2) designate the web Request as a consumer of the Process.

except that I don't know how to do #2 quite so succinctly.  Can anyone
speak on this subject?

 - Kevin

-- 
The moon is waxing crescent, 5.7% illuminated, 2.3 days old.





More information about the Twisted-Python mailing list