import "cmd/internal/pathcache"
lookpath.go
func LookPath(file string) (path string, err error)
LookPath wraps exec.LookPath and caches the result which can be called by multiple Goroutines at the same time.