Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct { Args []string Timeout time.Duration Shell bool ShellQuote bool Stdout io.Writer Stderr io.Writer }
Command add timeout support for os/exec
func NewCommand ¶
func (Command) CombinedOutput ¶
func (c Command) CombinedOutput() (output string, err customerror.CustomError)
func (Command) CombinedOutputString ¶
func (Command) StartBackground ¶
Click to show internal directories.
Click to hide internal directories.