class documentation
class Win32SignalProtocol(SignalProtocol): (source)
A win32-specific process protocol that handles processEnded differently: processes should exit with exit code 1.
Method | process |
Callback self.deferred with None if reason is a error.ProcessTerminated failure with exitCode set to 1. Otherwise, errback with a ValueError describing the problem. |
Inherited from SignalProtocol
:
Method | __init__ |
Undocumented |
Method | err |
Log all data received from the child's stderr to help with debugging. |
Method | out |
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. |
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
(via SignalProtocol
):
Method | child |
Called when a file descriptor associated with the child process is closed. |
Method | child |
Called when data arrives from the child process. |
Method | err |
This will be called when stderr is closed. |
Method | in |
This will be called when stdin is closed. |
Method | out |
This will be called when stdout is closed. |
Method | process |
This will be called when the subprocess exits. |
Class Variable | transport |
Undocumented |
Inherited from BaseProtocol
(via SignalProtocol
, ProcessProtocol
):
Method | connection |
Called when a connection is made. |
Method | make |
Make a connection to a transport and a server. |
Instance Variable | connected |
Undocumented |
Callback self.deferred with None
if reason is a error.ProcessTerminated
failure with exitCode set to 1. Otherwise, errback with a ValueError describing the problem.