class documentation

class ProcessAliasProtocol(protocol.ProcessProtocol): (source)

View In Hierarchy

A process protocol which errbacks a deferred when the associated process ends.

Method processEnded Call an errback.
Instance Variable onEnd If set, a deferred on which to errback when the process ends.

Inherited from ProcessProtocol:

Method childConnectionLost Called when a file descriptor associated with the child process is closed.
Method childDataReceived Called when data arrives from the child process.
Method errConnectionLost This will be called when stderr is closed.
Method errReceived Some data was received from stderr.
Method inConnectionLost This will be called when stdin is closed.
Method outConnectionLost This will be called when stdout is closed.
Method outReceived Some data was received from stdout.
Method processExited This will be called when the subprocess exits.
Instance Variable transport Undocumented

Inherited from BaseProtocol (via ProcessProtocol):

Method connectionMade Called when a connection is made.
Method makeConnection Make a connection to a transport and a server.
Instance Variable connected 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.