OptionalcheckThe command to execute
OptionalcwdWorking directory for the command
OptionaldisplayTitle displayed during execution
OptionalforceForce stderr output to be logged as error (default: true)
OptionallogLabel used in log messages
OptionalmatchersRegex matchers for output lines
OptionalmaxMaximum buffer size for stdout/stderr (default: 10MB)
OptionalonCalled after command completes. Return value passed through to execute() when exitCode is 0
OptionalonCalled on each chunk of stdout/stderr during execution
OptionalonCalled when progress is extracted
OptionalonCallback before killing on timeout
OptionaloutputStream output to file (path or stream)
OptionaloutputOptions for outputFile when path string
OptionaloutputLabel used in output messages
OptionaloutputLog level for output (default: "verbose")
OptionalprogressProgress extraction config
OptionalsignalAbortSignal for cancellation (e.g. from AbortController)
OptionalspinnerSpinner style to use
OptionaltimeoutTimeout in milliseconds. Process killed if exceeded.
OptionaltimeoutGrace period in ms before SIGKILL after SIGTERM (default: 5000)
OptionalvisualVisual logger instance to use
Regex or boolean to check stdout for error patterns (default: true)