Add interface definition, and implement local and record-replay variants.
18 files changed
tree: 635ccb8cbfcd177c7486555bb0ef16dcce37aaa7
  1. lib/
  2. test/
  3. tools/
  4. .analysis_options
  5. .gitignore
  6. .travis.yml
  7. CHANGELOG.md
  8. LICENSE
  9. pubspec.yaml
  10. README.md
README.md

Process

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.