Documentation ¶ Index ¶ type Shell func Exec(name string, args ...string) *Shell func (s *Shell) Attach() *Shell func (s *Shell) Read() (string, error) func (s *Shell) ReadOutput() (string, error) func (s *Shell) Run() error func (s *Shell) SetDir(path string) *Shell func (s *Shell) SetEnv(env []string) *Shell func (s *Shell) Wait() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Shell ¶ type Shell struct { *exec.Cmd } func Exec ¶ func Exec(name string, args ...string) *Shell func (*Shell) Attach ¶ func (s *Shell) Attach() *Shell func (*Shell) Read ¶ func (s *Shell) Read() (string, error) func (*Shell) ReadOutput ¶ func (s *Shell) ReadOutput() (string, error) func (*Shell) Run ¶ func (s *Shell) Run() error func (*Shell) SetDir ¶ func (s *Shell) SetDir(path string) *Shell func (*Shell) SetEnv ¶ func (s *Shell) SetEnv(env []string) *Shell func (*Shell) Wait ¶ func (s *Shell) Wait() error Source Files ¶ View all Source files shell.go Click to show internal directories. Click to hide internal directories.