Abstraction for running external commands.
Parent-environment isolation is a ShellProcessExecutor constructor
concern, not part of this interface, so downstream implementers stay
source-compatible.
- Implementers
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
-
run(
String executable, List< String> arguments, {String? workingDirectory, Map<String, String> ? environment, Duration? timeout}) → Future<ExecutionResult> -
startBidirectional(
String executable, List< String> arguments, {String? workingDirectory, Map<String, String> ? environment}) → Future<BidirectionalProcess> - Start a long-lived bidirectional process where stdin remains open.
-
startStreaming(
String executable, List< String> arguments, {String? workingDirectory, Map<String, String> ? environment}) → Future<StreamingProcess> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited