icz*_*cza 53

exec.Command()*exec.CmdCmdDir
// Dir specifies the working directory of the command.
// If Dir is the empty string, Run runs the command in the
// calling process's current directory.
Dir string
Cmd.Output()
cmd:= exec.Command("git", "log")
cmd.Dir = "your/intended/working/directory"
out, err := cmd.Output()
gitgit-C
out, err := exec.Command("git", "-C", "your/intended/working/directory", "log").
    Output()