github.com/saracen/git-lfs@v2.5.2+incompatible/subprocess/subprocess_nix.go (about)

     1  // +build !windows
     2  
     3  package subprocess
     4  
     5  import (
     6  	"os/exec"
     7  )
     8  
     9  // ExecCommand is a small platform specific wrapper around os/exec.Command
    10  func ExecCommand(name string, arg ...string) *Cmd {
    11  	cmd := exec.Command(name, arg...)
    12  	cmd.Env = env
    13  	return newCmd(cmd)
    14  }