Clone this repo:
  1. 0c9aeac Add custom exceptions with more information (#63) by Greg Spencer · 6 weeks ago master
  2. 6c873f5 Fix ProcessManager.canRun to be consistent with LocalProcessManager (#62) by Jenn Magder · 6 weeks ago
  3. 6b2e264 Fix getExecutablePath to only return files that are actually readable and executable. (#61) by Greg Spencer · 7 weeks ago
  4. 0981bdb Add more details to ArgumentError if process resolution fails (#59) by Jonah Williams · 3 months ago
  5. 7ca6534 Fix ProcessManager signatures to be consistent with LocalProcessManager (#58) by James D. Lin · 3 months ago

Process

Build Status - Coverage Status -

A generic process invocation abstraction for Dart.

Like dart:io, package:process supplies a rich, Dart-idiomatic API for spawning OS processes.

Unlike dart:io, package:process:

  • Can be used to implement custom process invocation backends.
  • Comes with a record-replay implementation out-of-the-box, making it super easy to test code that spawns processes in a hermetic way.