git-lfs/git/git_nix.go

16 lines
315 B
Go
Raw Normal View History

// +build !windows
// Package git contains various commands that shell out to git
package git
import (
"os/exec"
)
// execCommand is a small platform specific wrapper around os/exec.Command
func execCommand(name string, arg ...string) *exec.Cmd {
cmd := exec.Command(name, arg...)
cmd.Env = env
return cmd
}