class documentation

Base process protocol implementation which does simple dispatching for stdin, stdout, and stderr file descriptors.

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 processEnded Called when the child process exits and all file descriptors associated with it have been closed.
Method processExited This will be called when the subprocess exits.
Instance Variable transport Undocumented

Inherited from BaseProtocol:

Method connectionMade Called when a connection is made.
Method makeConnection Make a connection to a transport and a server.
Instance Variable connected Undocumented
def childConnectionLost(self, childFD: int): (source)

Called when a file descriptor associated with the child process is closed.

Parameters
childFD:intThe file descriptor which was closed.
def childDataReceived(self, childFD: int, data: bytes): (source)

Called when data arrives from the child process.

Parameters
childFD:intThe file descriptor from which the data was received.
data:bytesThe data read from the child's file descriptor.
def errConnectionLost(self): (source)

This will be called when stderr is closed.

def inConnectionLost(self): (source)

This will be called when stdin is closed.

def outConnectionLost(self): (source)

This will be called when stdout is closed.

def processExited(self, reason: failure.Failure): (source)

This will be called when the subprocess exits.

Parameters
reason:twisted.python.failure.FailureUndocumented