commit | 10d8731c533c7028decdce8ffb3a10fd9a277e74 | [log] [tgz] |
---|---|---|
author | Todd Volkert <tvolkert@users.noreply.github.com> | Tue Jan 24 08:42:34 2017 -0800 |
committer | GitHub <noreply@github.com> | Tue Jan 24 08:42:34 2017 -0800 |
tree | 3c986e9339645fd68b1e5c9e4bee61bf4508b4c6 | |
parent | dd7133327b10946edaba3125cba994f5cc76b468 [diff] |
Add support for dynamic command elements. (#2) This updates the `ProcessManager` API to use one `command` parameter to process-spawning methods, rather than separate `executable` and `arguments` parameters. It also changes the list type from `String` to `dynamic` to allow implementations to support different list types. `RecordingProcessManager` and `ReplayProcessManager` build upon the changes above to support a new type, `CommandElement`. When used, it allows the caller to sanitize commands in order to provide deterministic & reproducible command lists.
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
: