class documentation

A process protocol that sends a signal when data is first received.

Method __init__ Undocumented
Method errReceived Log all data received from the child's stderr to help with debugging.
Method outReceived Handle the first output from the child process (which indicates it is set up and ready to receive the signal) by sending the signal to it. Also log all output to help with debugging.
Method processEnded Callback self.deferred with None if reason is a error.ProcessTerminated failure with exitCode set to None, signal set to self.signal, and status holding the status code of the exited process. Otherwise, errback with a ...
Instance Variable deferred deferred firing on processEnded.
Instance Variable signal the signal to send to the process.
Instance Variable signaled A flag tracking whether the signal has been sent to the child or not yet. False until it is sent, then True.

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 inConnectionLost This will be called when stdin is closed.
Method outConnectionLost This will be called when stdout is closed.
Method processExited This will be called when the subprocess exits.
Class 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 __init__(self, deferred, sig): (source)

Undocumented

def errReceived(self, data): (source)

Log all data received from the child's stderr to help with debugging.

def outReceived(self, data): (source)

Handle the first output from the child process (which indicates it is set up and ready to receive the signal) by sending the signal to it. Also log all output to help with debugging.

def processEnded(self, reason): (source)

Callback self.deferred with None if reason is a error.ProcessTerminated failure with exitCode set to None, signal set to self.signal, and status holding the status code of the exited process. Otherwise, errback with a ValueError describing the problem.

deferred firing on processEnded.

signal: str = (source)

the signal to send to the process.

signaled: bool = (source)

A flag tracking whether the signal has been sent to the child or not yet. False until it is sent, then True.