process_runner library
Classes
-
ProcessPool
-
A pool of worker processes that will keep numWorkers busy until all of the
(presumably single-threaded) processes are finished.
-
ProcessRunner
-
A helper class for classes that want to run a process, optionally have the
stderr and stdout printed to stdout/stderr as the process runs, and capture
the stdout, stderr, and interleaved output properly without dropping any.
-
ProcessRunnerResult
-
This is the result of running a comand using ProcessRunner or
ProcessPool. It includes the entire stderr, stdout, and interleaved
output from the command after it has completed. [...]
-
WorkerJob
-
A class that represents a job to be done by a ProcessPool. [...]
Exceptions / Errors
-
ProcessRunnerException
-
Exception class for when a process fails to run, so we can catch
it and provide something more readable than a stack trace.