Documentation
¶
Overview ¶
Package command provides helpers to execute external commands with logging.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExecutablePath ¶ added in v0.8.0
GetExecutablePath finds the path for a given command, checking for an override in the provided commandOverrides map first.
func Run ¶
Run executes a program (with arguments) and captures any error output. It is a convenience wrapper around RunWithEnv.
func RunWithEnv ¶ added in v0.8.0
RunWithEnv executes a program (with arguments) and optional environment variables and captures any error output. If env is nil or empty, the command inherits the environment of the calling process.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.