Help us shape the future of Go! Take the 2026 Go Developer Survey

runner

package
v0.101.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Args []string
	Dir  string
}

type CommandRunner

type CommandRunner struct {
	Executable string
	Stdout     io.Writer
	Stderr     io.Writer
}

func NewCommandRunner

func NewCommandRunner(executable string, quiet bool) (CommandRunner, error)

func (CommandRunner) CombinedOutput

func (r CommandRunner) CombinedOutput(command Command) ([]byte, error)

func (CommandRunner) Run

func (r CommandRunner) Run(command Command) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL