ProcessManager that delegates to another one.
Typically used as a base class to extend functionality.
var manager = new ForwwardingProcessManager(const LocalProcessManager());
ProcessManager that uses a
Pool to limit to the max amount of concurrently-running processes.
var manager = new PooledProcessManager(const LocalProcessManager(), Platform.numberOfProcessors);
ProcessManager that can enqueue results in advance, rather than actually spawning OS processes.
var manager = new MockProcessManager(); manager.enqueue(new ProcessResult(0, 1337, stdout, stderr)); var p = await manager.run(['foo', '--bar=baz']); await p.exitCode; // 1337
Process implementation that simply outputs the result of a
var p = new CompletedProcess(new ProcessResult(0, 1337, stdout, stderr)); await p.exitCode; // 1337
Add this to your package's pubspec.yaml file:
dependencies: process_plus: "^1.0.0"
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|1.0.0||Mar 2, 2018|
We analyzed this package on Mar 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Detected platforms: Flutter, other
Changelog entries help clients to follow the progress in your code.
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use
Fix issues reported by
dartfmtreported 2 hints.