package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

New returns a new Exec with the given options.
WithDryrun configures Exec to run in dryrun mode.
WithIntercept configures Exec to intercept the given command and return the given output instead.
WithLogger configures Exec to use the provided logger.
WithRecorder configures Exec to use the provided recorder.
WithStdOutErr configures Exec to use the provided sinks for std{out,err}.
WithWorkingDir configures Exec to use the provided working directory.

# Structs

Exec is a convenience wrapper around the stdlib os/exec package.
ExitError is an error type similar to os.ExitError.

# Type aliases

Option is a start-up option that can be specified when constructing a new Exec handle.