process library

Process.run, pipe, pool and fake, as Laravel's Process facade.

Not part of package:daravel/daravel.dart: its Process would collide with dart:io's in every file that imports both. Import this library where you run commands, with a prefix if the file also needs dart:io's.

Classes

Process
Process::run(), pipe(), pool() and fake().
ProcessFake
Answers commands inside Process.fake, and records them.
ProcessResultData
A finished command (Illuminate\Process\ProcessResult).

Enums

ProcessOutputType
Which stream a line of a process's output came from.

Exceptions / Errors

ProcessFailedException
Thrown by throw() when the process failed.
ProcessTimedOutException
The process ran past its timeout and was killed.