runner

package
v0.0.0-...-4a72c2f Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 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