Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecResult ¶
type ExecTask ¶
type ExecTask struct { Command string Args []string Shell bool Env []string Cwd string // Stdin connect a reader to stdin for the command // being executed. Stdin io.Reader // StreamStdio prints stdout and stderr directly to os.Stdout/err as // the command runs. StreamStdio bool // PrintCommand prints the command before executing PrintCommand bool }
func (ExecTask) Execute ¶
func (et ExecTask) Execute() (ExecResult, error)
Click to show internal directories.
Click to hide internal directories.