class documentation

Undocumented

Method __init__ Undocumented
Method maybeCallProcessEnded Call processEnded on protocol after final cleanup.
Method processEnded This is called when the child terminates.
Class Variable lostProcess Undocumented
Instance Variable pid Undocumented
Instance Variable proto Undocumented
Instance Variable status Undocumented
Method _callProcessExited Undocumented
Method _getReason Convert a process exit status into an exception. Subclasses must override this method.
def maybeCallProcessEnded(self): (source)

Call processEnded on protocol after final cleanup.

def processEnded(self, status: int): (source)

This is called when the child terminates.

lostProcess: int = (source)

Undocumented

def _callProcessExited(self, reason: BaseException): (source)

Undocumented

def _getReason(self, status: int) -> BaseException: (source)

Convert a process exit status into an exception. Subclasses must override this method.

Parameters
status:intThe status reported when the child process exits.
Returns
BaseExceptionAn exception describing how the process terminated.