github.com/koron/hk@v0.0.0-20150303213137-b8aeaa3ab34c/unix.go (about)

     1  // +build darwin freebsd linux netbsd openbsd
     2  
     3  package main
     4  
     5  import "syscall"
     6  
     7  const (
     8  	netrcFilename           = ".netrc"
     9  	acceptPasswordFromStdin = true
    10  )
    11  
    12  func sysExec(path string, args []string, env []string) error {
    13  	return syscall.Exec(path, args, env)
    14  }