Versions in this module Expand all Collapse all v1 v1.3.3 Oct 2, 2014 v1.3.1 Aug 21, 2014 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) (f string, err error) — windows/amd64 + func LookPath(file string) (string, error) — darwin/amd64, linux/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 (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 + func (e *ExitError) Error() string