Documentation
¶
Overview ¶
Utilities that make executing commands on the local system a little bit easier.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cmd ¶
type Cmd struct {
*exec.Cmd
MonitorInterval time.Duration
OnStart CommandStatusFunc
OnMonitor CommandStatusFunc
OnComplete CommandStatusFunc
OnSuccess CommandStatusFunc
OnError CommandStatusFunc
// contains filtered or unexported fields
}
func (*Cmd) CombinedOutput ¶
func (*Cmd) WaitStatus ¶
Wait for the process to complete, then return the last status. Process must have been started using the Start() function.
type CommandStatusFunc ¶
type CommandStatusFunc func(Status)
Click to show internal directories.
Click to hide internal directories.