class documentation

class ProcessAliasProtocol(protocol.ProcessProtocol): (source)

View In Hierarchy

A process protocol which errbacks a deferred when the associated process ends.
Method process​Ended Call an errback.
Instance Variable on​End If set, a deferred on which to errback when the process ends.

Inherited from ProcessProtocol:

Method child​Connection​Lost Called when a file descriptor associated with the child process is closed.
Method child​Data​Received Called when data arrives from the child process.
Method err​Connection​Lost This will be called when stderr is closed.
Method err​Received Some data was received from stderr.
Method in​Connection​Lost This will be called when stdin is closed.
Method out​Connection​Lost This will be called when stdout is closed.
Method out​Received Some data was received from stdout.
Method process​Exited This will be called when the subprocess exits.

Inherited from BaseProtocol (via ProcessProtocol):

Method connection​Made Called when a connection is made.
Method make​Connection Make a connection to a transport and a server.
Instance Variable connected Undocumented
Instance Variable transport Undocumented
def processEnded(self, reason): (source)
Call an errback.
Parameters
reason:FailureThe reason the child process terminated.
If set, a deferred on which to errback when the process ends.