class documentation
Monitor for an output stream (stdout or stderr) of a child process.
This class serves multiple purposes: - Collects output from the child process in a rolling buffer in the
background, and makes it available in a thread-safe manner.
- Causes the current process to exit when the child process closes the stream (i.e. when the child process exits).
Method | __init__ |
Undocumented |
Method | to |
Return output recently collected from the child process. |
Instance Variable | output |
Undocumented |
Instance Variable | stream |
Undocumented |
Method | _run |
Background task to collect output from the child process. |
Return output recently collected from the child process.
Currently, this is limited to the most recent 4KB.