Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Executor ¶
type Executor interface {
Wait() error
Start() error
Signal(os.Signal)
Write(data []byte) (n int, err error)
}
Executor represents a command to execute.
type Option ¶
type Option func(*Runner)
Option defines option to run commands.
func DefaultStderr ¶
DefaultStderr provides the default stderr for the commands to run.
func DefaultStdin ¶
DefaultStdin provides the default stdin for the commands to run.
func DefaultStdout ¶
DefaultStdout provides the default stdout for the commands to run.
func DefaultWorkdir ¶
DefaultWorkdir provides the default working directory for the commands to run.
func EnableDebug ¶
func EnableDebug() Option
Click to show internal directories.
Click to hide internal directories.