Documentation ¶ Index ¶ func Command(dir, command string) (output string, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Command ¶ func Command(dir, command string) (output string, err error) Command runs the passed command in a shell in the passed dir. If dir is empty, the command is run in /. If the command exits with a code != 0, an error is returned Types ¶ This section is empty. Source Files ¶ View all Source files exec.go Click to show internal directories. Click to hide internal directories.