github.com/cli/safeexec@v1.0.1/lookpath_1.18.go (about)

     1  //go:build !windows && !go1.19
     2  // +build !windows,!go1.19
     3  
     4  package safeexec
     5  
     6  import "os/exec"
     7  
     8  func LookPath(file string) (string, error) {
     9  	return exec.LookPath(file)
    10  }