Documentation ¶
Index ¶
- type Cmd
- func (cmd *Cmd) CombinedOutput() (string, error)
- func (cmd *Cmd) Exec() error
- func (cmd *Cmd) Output() (string, error)
- func (cmd *Cmd) Run() error
- func (cmd *Cmd) Spawn() error
- func (cmd Cmd) String() string
- func (cmd *Cmd) Success() bool
- func (cmd *Cmd) WithArg(arg string) *Cmd
- func (cmd *Cmd) WithArgs(args ...string) *Cmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
Cmd is a project-wide struct that represents a command to be run in the console.
func NewWithArray ¶
func (*Cmd) CombinedOutput ¶
func (*Cmd) Exec ¶
Exec runs command with exec(3) Note that Windows doesn't support exec(3): http://golang.org/src/pkg/syscall/exec_windows.go#L339
Click to show internal directories.
Click to hide internal directories.