Versions in this module Expand all Collapse all v0 v0.1.0 Jun 3, 2021 Changes in this version + var ErrExecTimeout = errors.New("execute timeout") + func Go(f func() error) chan error + func Test(exp string, arg string) bool + type Dir string + type Session struct + Env map[string]string + PipeFail bool + PipeStdErrors bool + ShowCMD bool + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + func Command(name string, a ...interface{}) *Session + func Echo(in string) *Session + func InteractiveSession() *Session + func NewSession() *Session + func (s *Session) Alias(alias, cmd string, args ...string) + func (s *Session) AppendStdout(f string) error + func (s *Session) Call(name string, a ...interface{}) error + func (s *Session) CombinedOutput() (out []byte, err error) + func (s *Session) Command(name string, a ...interface{}) *Session + func (s *Session) Getwd() string + func (s *Session) Kill(sig os.Signal) + func (s *Session) Output() (out []byte, err error) + func (s *Session) Run() (err error) + func (s *Session) SetDir(dir string) *Session + func (s *Session) SetEnv(key, value string) *Session + func (s *Session) SetInput(in string) *Session + func (s *Session) SetStdin(r io.Reader) *Session + func (s *Session) SetTimeout(d time.Duration) *Session + func (s *Session) Start() (err error) + func (s *Session) Test(expression string, argument string) bool + func (s *Session) UnmarshalJSON(data interface{}) (err error) + func (s *Session) UnmarshalXML(data interface{}) (err error) + func (s *Session) Wait() error + func (s *Session) WaitTimeout(timeout time.Duration) (err error) + func (s *Session) WriteStdout(f string) error