exec

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner() *Runner

Call Close() when done.

func (*Runner) Add

func (r *Runner) Add(name string, defaultArgs ...string) (found bool)

func (*Runner) AddMem added in v0.3.1

func (r *Runner) AddMem(name string, data []byte, defaultArgs ...string) error

func (*Runner) Close added in v0.3.1

func (r *Runner) Close() error

func (*Runner) Has

func (r *Runner) Has(name string) bool

func (*Runner) Run

func (r *Runner) Run(name string, stdout io.Writer, stdin io.Reader, args ...string) error

Jump to

Keyboard shortcuts

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