ExecProcessMsg class
Message signaling that an external process should be executed.
This is an internal message used by Cmd.exec.
Constructors
-
ExecProcessMsg({required String executable, required List<
String> arguments, required Msg onComplete(ExecResult result), String? workingDirectory, Map<String, String> ? environment}) -
const
Properties
-
arguments
→ List<
String> -
Arguments to pass to the executable.
final
-
environment
→ Map<
String, String> ? -
Environment variables for the process.
final
- executable → String
-
The executable to run.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onComplete → Msg Function(ExecResult result)
-
Callback to create a message from the process result.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- workingDirectory → String?
-
Working directory for the process.
final
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