Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Command ¶
type Command struct {
// Command holds the command with its optional arguments.
Command []string
// Directory defines the directory the execution should run in, without changing the working directory of the caller.
Directory string
// Env overwrites the environment variables of the executed command.
Env map[string]string
}
Command defines a command that should be executed.
Click to show internal directories.
Click to hide internal directories.