Documentation ¶
Overview ¶
Package exec wraps os/exec to add a little error sanitization and standardization around process return codes and a channel-based cancel mechanism
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunWithCancel ¶
Types ¶
type CmdRunResult ¶
func NewCmdRunResultWithErr ¶
func NewCmdRunResultWithErr(err error) CmdRunResult
func (*CmdRunResult) AttachErrorf ¶
func (r *CmdRunResult) AttachErrorf(msg string, err error)
func (CmdRunResult) ErrorStr ¶
func (r CmdRunResult) ErrorStr() string
func (CmdRunResult) IsEmpty ¶ added in v0.30.3
func (r CmdRunResult) IsEmpty() bool
func (CmdRunResult) WithFriendlyYAMLStrings ¶
func (r CmdRunResult) WithFriendlyYAMLStrings() CmdRunResult
type Flag ¶
func NewFlagFromString ¶
Click to show internal directories.
Click to hide internal directories.