class Runner
extends BaseRunner
import { Runner } from "https://deno.land/x/pup@1.0.0-rc.12/lib/core/runner.ts";
Represents a task runner that executes tasks as regular processes. Extends the BaseRunner class.
Constructors
new
Runner(pup: Pup, processConfig: ProcessConfiguration)Properties
private
optional
process: CommandChildMethods
private
extendPath()Extends the PATH environment variable with the path specified in the process configuration.
private
pipeToLogger(category: string, reader: ReadableStream<Uint8Array>)Pipes the output of the running process to the logger.
private
prepareCommand(env: Record<string, string>)Prepares the command to be executed based on the process configuration.
run(runningCallback: RunnerCallback): Promise<RunnerResult>
Executes the command specified in the process configuration.