Documentation ¶ Index ¶ func Run(dir, command string, args ...string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Run ¶ func Run(dir, command string, args ...string) (string, error) Run runs the given command using the given working directory. If the command succeeds, the value of stdout is returned with trailing whitespace removed. If the command fails, the combined stdout/stderr text will also be returned. Types ¶ This section is empty. Source Files ¶ View all Source files command.go Click to show internal directories. Click to hide internal directories.