CommandExecution class
A single in-flight command launched by the IDE terminal panel: a stream of output output lines (stdout and stderr merged, one event per line), a exitCode future, and a kill to terminate it early.
This file is dart:io-free so the IDE engine stays web-compilable; the
process-backed runner lives in process_command_runner.dart and the
remote runner in ../workspace/remote_command_runner.dart.
Constructors
-
CommandExecution({required Stream<
String> output, required Future<int> exitCode, required void kill()})
Properties
-
exitCode
→ Future<
int> -
Completes with the process exit code once it finishes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
output
→ Stream<
String> -
Output lines as they arrive (stdout and stderr merged).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
kill(
) → void - Terminates the underlying process, if still running.
-
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