Skip to content

HostExecutor

Category: Shell

Source: host_executor.dart

Classes

HostExecutor

Runs commands directly on the host machine via the configured shell.

This is the default executor when Docker is disabled. Shell flags (interactive, login) are determined by [ShellConfig.mode].

Constructor

dart
HostExecutor(this.shellConfig, {this.eventSink})

Properties

PropertyTypeDescription
shellConfigShellConfig
eventSinkRuntimeEventSink?

Methods

Future<CaptureResult> runCapture(String command, {Duration? timeout})
Future<RunningCommandHandle> startStreaming(String command)

Released under the MIT License.