system

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

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

func Command

func Command(name string) *Cmd

func (*Cmd) Arg

func (cmd *Cmd) Arg(arg ...string)

func (*Cmd) Env

func (cmd *Cmd) Env(env ...string)

func (*Cmd) Err

func (cmd *Cmd) Err(debug bool) (string, error)

func (*Cmd) Flag

func (cmd *Cmd) Flag(key string, value interface{})

func (*Cmd) Out

func (cmd *Cmd) Out(debug bool) (string, error)

func (*Cmd) Run

func (cmd *Cmd) Run(debug bool) error

func (*Cmd) Std

func (cmd *Cmd) Std(in io.Reader, out, err io.Writer)

Jump to

Keyboard shortcuts

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