Documentation ¶ Index ¶ type Command func (c *Command) Cancel() func (c *Command) Input(param string) func (c *Command) IsRun() bool func (c *Command) Run(name string, args ...string) error func (c *Command) SetDir(dir string) func (c *Command) Stderr() string func (c *Command) Stdout() string type ShellCommand Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Command ¶ type Command struct { // contains filtered or unexported fields } func (*Command) Cancel ¶ func (c *Command) Cancel() func (*Command) Input ¶ added in v0.0.5 func (c *Command) Input(param string) func (*Command) IsRun ¶ func (c *Command) IsRun() bool func (*Command) Run ¶ func (c *Command) Run(name string, args ...string) error func (*Command) SetDir ¶ func (c *Command) SetDir(dir string) func (*Command) Stderr ¶ func (c *Command) Stderr() string func (*Command) Stdout ¶ func (c *Command) Stdout() string type ShellCommand ¶ added in v0.0.5 type ShellCommand interface { IsRun() bool Cancel() Input(param string) Stderr() string Stdout() string SetDir(dir string) } Source Files ¶ View all Source files exec.go Click to show internal directories. Click to hide internal directories.