Part of elisa.core.utils.process_observer View In Hierarchy
This is a very simple Process Observer. It is a ProcessProtocol for twisted. The ProcessObserver is simply calling its deferred, when the Process ended. This does not necessarly mean, that the program is not running anymore but it has detachted from the console.
The result of the callback is 0, if the process terminated smoothly or 1 if it had another termination value.
# FIXME: a bit more enhanced: use callback and errback?Line # | Kind | Name | Docs |
---|---|---|---|
39 | Method | __init__ | Undocumented |
42 | Method | reset | Undocumented |
45 | Method | processEnded | Undocumented |