Part of lp.services.twistedsupport
Class | ProcessProtocolWithTwoStageKill | Support for interrupting, then killing if necessary, processes. |
Class | ProcessMonitorProtocol | Support for running a process and reporting on its progress. |
Class | ProcessMonitorProtocolWithTimeout | Support for killing a monitored process after a period of inactivity. |
Function | run_process_with_timeout | Run the given process with the specificed timeout. |
Class | ProcessWithTimeout | Run a process and capture its output while applying a timeout. |
Parameters | args | tuple with the command-line arguments. |
timeout | command timeout in seconds, defaults to 5. | |
clock | Passed to ProcessMonitorProtocolWithTimeout.__init__ . | |
Returns | a Deferred of the spawed process using
ProcessMonitorProtocolWithTimeout |