CiProcessRunner class
Runs commands one at a time under the workspace lock, each line of their output to a log file as it arrives.
Constructors
- CiProcessRunner({required CiLock lock, String? pathPrefix, void onLockWait(Duration waited)?})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lock → CiLock
-
final
- onLockWait → void Function(Duration waited)?
-
Told when the lock is held by somebody else, and how long we have waited.
final
- pathPrefix → String?
-
A directory put first on every child's
PATH— the Flutter SDK'sbin, so a tool the child itself spawns (package_app.dartrunsflutter) finds the same SDK this run uses.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
interrupt(
) → void - Kills the running child, if any, and releases the lock. For Ctrl-C.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run(
List< CiCommand> commands, {required String logPath, bool append = false}) → Future<CiStepResult> -
Runs
commandsin order into the log atlogPath(created, or appended to whenappend), stopping at the first that fails. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited