Versions in this module Expand all Collapse all v1 v1.13.1 Mar 11, 2020 Changes in this version + const None + var Matches = &matches + var Success = Expected + type Cmd struct + Command []string + Dir string + Env []string + Stdin io.Reader + Stdout io.Writer + Timeout time.Duration + type Expected struct + Err string + Error string + ExitCode int + Out string + Timeout bool + type Result struct + Cmd *exec.Cmd + Error error + ExitCode int + Timeout bool + func RunCmd(cmd Cmd) *Result + func RunCommand(command string, args ...string) *Result + func StartCmd(cmd Cmd) *Result + func WaitOnCmd(timeout time.Duration, result *Result) *Result + func (r *Result) Assert(t testingT, exp Expected) + func (r *Result) Combined() string + func (r *Result) Compare(exp Expected) error + func (r *Result) SetExitError(err error) + func (r *Result) Stderr() string + func (r *Result) Stdout() string + func (r *Result) String() string