Versions in this module Expand all Collapse all v0 v0.4.5 Oct 16, 2026 Changes in this version + const FixedPATH + var ErrPipelineUnsupported = errors.New("runner: pipeline execution unsupported") + func FixedEnvironment(home, cwd, tmpDir, lookupPath string, assignments []string) ([]string, error) + func ResolveOnPath(name, lookupPath string) (string, error) + type BoundedExecRunner interface + ExecBounded func(ctx context.Context, spec RunSpec, maxCapture int) (RunResult, error) + type DirectExecRunner struct + func (DirectExecRunner) Exec(ctx context.Context, spec RunSpec) (RunResult, error) + func (DirectExecRunner) ExecBounded(ctx context.Context, spec RunSpec, maxCapture int) (RunResult, error) + func (DirectExecRunner) NewInvocationID() string + func (DirectExecRunner) Pipeline(ctx context.Context, specs []RunSpec, maxCapture int) ([]PipelineResult, error) + func (DirectExecRunner) PreflightPipeline(_ context.Context, specs []RunSpec) error + type EnvAssignmentError struct + Name string + func (e *EnvAssignmentError) Error() string + type ExecutableNotFoundError struct + Name string + func (e *ExecutableNotFoundError) Error() string + type PipelineResult struct + Duration time.Duration + ExitCode int + InvocationID string + LaunchErrCategory fserrors.Category + PipelineErrCategory PipelineStageFailure + Stderr []byte + StderrTotal int64 + Stdout []byte + StdoutTotal int64 + type PipelineRunner interface + Pipeline func(ctx context.Context, specs []RunSpec, maxCapture int) ([]PipelineResult, error) + PreflightPipeline func(ctx context.Context, specs []RunSpec) error + type PipelineStageFailure string + const PipelineFailureCanceled + const PipelineFailureCopy + const PipelineFailureInternal + type RunResult struct + Duration time.Duration + ExitCode int + InvocationID string + LaunchErrCategory fserrors.Category + Stderr []byte + StderrTotal int64 + Stdout []byte + StdoutTotal int64 + type RunSpec struct + Argv []string + Assignments []string + Cwd string + Env []string + ExceptionalAuthority string + InvocationID string + Stdin []byte + type Runner interface + Exec func(ctx context.Context, spec RunSpec) (RunResult, error) + NewInvocationID func() string