ProcessHelper class

The helper class for running commands

Constructors

ProcessHelper()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

run(String executable, List<String> arguments, {void onOutput(String line)?, Map<String, String>? environment}) → Future<(CommandResult?, CommandError?)>
Runs a command to completion and returns its exit code and output
splitCommand(String command) → List<String>
Splitting the command while respecting the quoted strings