process_runner library Null safety

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 command 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. [...]

Constants

defaultPlatform → const Platform
const LocalPlatform()

Typedefs

ProcessPoolProgressReporter = void Function(int totalJobs, int completed, int inProgress, int pending, int failed)
The type of the reporting function for ProcessPool.printReport.

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.