Versions in this module Expand all Collapse all v0 v0.1.0 Sep 22, 2016 Changes in this version + var ErrNotFound = errors.New("executable file not found in $PATH") — darwin/amd64, linux/amd64 + var ErrNotFound = errors.New("executable file not found in %PATH%") — windows/amd64 + func LookPath(file string) (string, error) — darwin/amd64, linux/amd64, windows/amd64 + type Cmd struct + Args []string + Dir string + Env []string + ExtraFiles []*os.File + Path string + Process *os.Process + ProcessState *os.ProcessState + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + SysProcAttr *syscall.SysProcAttr + func Command(name string, arg ...string) *Cmd + func CommandContext(ctx context.Context, name string, arg ...string) *Cmd + func (c *Cmd) CombinedOutput() ([]byte, error) + func (c *Cmd) Output() ([]byte, error) + func (c *Cmd) Run() error + func (c *Cmd) Start() error + func (c *Cmd) StderrPipe() (io.ReadCloser, error) + func (c *Cmd) StdinPipe() (io.WriteCloser, error) + func (c *Cmd) StdoutPipe() (io.ReadCloser, error) + func (c *Cmd) Wait() error + type Error struct + Err error + Name string + func (e *Error) Error() string + type ExitError struct + Stderr []byte + func (e *ExitError) Error() string