t.w.s.ProcessStreamer(object) : class documentation

Part of twisted.web2.stream View Source View In Hierarchy

Runs a process hooked up to streams.

Requires an input stream, has attributes 'outStream' and 'errStream' for stdout and stderr.

outStream and errStream are public attributes providing streams for stdout and stderr of the process.
Method __init__ Undocumented
Method run Run the process.
def __init__(self, inputStream, program, args, env={}): (source)
def run(self): (source)

Run the process.

Returns Deferred which will eventually have errback for non-clean (exit code > 0) exit, with ProcessTerminated, or callback with None on exit code 0.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:12:41.