Versions in this module Expand all Collapse all v1 v1.1.0 Sep 7, 2026 v1.0.0 Aug 30, 2026 Changes in this version + var ErrOutputLimit = errors.New("subprocess output limit exceeded") + type Command struct + Args []string + Dir string + Env map[string]string + Name string + type Config struct + MaxConcurrent int + OutputLimit int64 + Timeout time.Duration + type Result struct + Duration time.Duration + ExitCode int + type Runner struct + func New(ws *workspace.Workspace, config Config) (*Runner, error) + func (r *Runner) Deadline(ctx context.Context) (context.Context, context.CancelFunc) + func (r *Runner) ForWorkspace(ws *workspace.Workspace) (*Runner, error) + func (r *Runner) Permit(ctx context.Context) (func(), error) + func (r *Runner) Run(ctx context.Context, command Command, streams Streams) (Result, error) + type Streams struct + Stderr io.Writer + Stdout io.Writer