Versions in this module Expand all Collapse all v0 v0.1.1 Jan 13, 2026 Changes in this version + var ErrMaxOutputSizeExceeded = errors.New("maximum output size exceeded") + func RunJSON[T any](ctx context.Context, name string, args []string, opts ...Option) (*T, error) type Option + func WithMaxOutputSize(size int) Option v0.1.0 Jan 12, 2026 Changes in this version + func Run(ctx context.Context, name string, args []string, opts ...Option) error + type Option func(cmdOpts *commandOptions) + func WithDir(dir string) Option + func WithEnv(env []string) Option + func WithExtraEnv(env ...string) Option + func WithStderr(w io.Writer) Option + func WithStdin(r io.Reader) Option + func WithStdout(w io.Writer) Option + func WithTimeout(d time.Duration) Option