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

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

Inherited from ProcessProtocol:

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

Inherited from BaseProtocol (via ProcessProtocol):

Instance Variable connected Undocumented
Instance Variable transport Undocumented
Method makeConnection Make a connection to a transport and a server.
Method connectionMade Called when a connection is made.
onEnd =
If set, a deferred on which to errback when the process ends.
(type: None or Deferred)
def processEnded(self, reason): (source)

Call an errback.

ParametersreasonThe reason the child process terminated. (type: Failure)
API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.