Package invoke provides support for invoking a command. It wraps the
standard os/exec package, returning a custom error type that will
additionally report the command arguments and the entire content of the
invoked command stderr.
type Error struct {
Cmd string// the command invoked Argv []string// arguments to the command Stderr []byte// the entire content of the command stderr Err error// the original error from os/exec.Command.Run}
Error is the error returned when a command returns an error.