exec

package
v0.0.0-...-cd5c7ba Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func NewBuilder

func NewBuilder(name string, args ...string) *Builder

func NewBuilderContext

func NewBuilderContext(ctx context.Context, name string, args ...string) *Builder

func (*Builder) Arg

func (b *Builder) Arg(arg string) *Builder

func (*Builder) Args

func (b *Builder) Args(args ...string) *Builder

func (*Builder) Build

func (b *Builder) Build() *exec.Cmd

func (*Builder) Dir

func (b *Builder) Dir(dir string) *Builder

func (*Builder) Env

func (b *Builder) Env(key, value string) *Builder

func (*Builder) Envs

func (b *Builder) Envs(envs map[string]string) *Builder

func (*Builder) Path

func (b *Builder) Path(path string) *Builder

func (*Builder) Stderr

func (b *Builder) Stderr(w io.Writer) *Builder

func (*Builder) Stdin

func (b *Builder) Stdin(r io.Reader) *Builder

func (*Builder) Stdout

func (b *Builder) Stdout(w io.Writer) *Builder

Jump to

Keyboard shortcuts

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