Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShellProcess ¶
type ShellProcess struct {
Command string
StripNewlines bool
ReturnErrOutput bool
Timeout int // in seconds
}
ShellProcess wraps a shell command execution
func NewShellProcess ¶
func NewShellProcess(command string, timeout int) *ShellProcess
NewShellProcess creates a new ShellProcess
Click to show internal directories.
Click to hide internal directories.