ExecProcessMsg class

Message signaling that an external process should be executed.

This is an internal message used by Cmd.exec.

Inheritance

Constructors

ExecProcessMsg({required String executable, required List<String> arguments, required Msg onComplete(ExecResult result), String? workingDirectory, Map<String, String>? environment, bool releaseTerminal = true})
const

Properties

arguments → List<String>
Arguments to pass to the executable.
final
dropWhenInputQueued → bool
Whether this message can be dropped when fresher user input is queued.
no setterinherited
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
releaseTerminal → bool
Whether the program releases its terminal while the process runs.
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