OptionalCwdWorking directory for the child process (defaults to process.cwd()).
OptionalEnvAdditional environment variables (merged with process.env).
OptionalOnCallback invoked once the child process has spawned, providing the PID. Useful when the caller needs to kill the process tree externally (e.g., service log capture after detecting readiness).
OptionalOnStreaming callback invoked with each line of stderr. Used by phases to emit verbose log events for diagnostic output.
OptionalOnStreaming callback invoked with each line of stdout.
Used by phases to emit step:progress events for real-time output.
OptionalTimeoutMaximum execution time in milliseconds. Process tree is killed on timeout.
Options for configuring child process execution.
See
ProcessRunner.Run