Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for findExe (0.15 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/binaryinfo/NMToolFixture.groovy

            this.environments = environments
        }
        
        static NMToolFixture of(List<String> environments) {
            return new NMToolFixture(environments)
        }
    
        private findExe(String exe) {
            // *nix OS correctly handle search inside the process's PATH environment variable
            if (!OperatingSystem.current().windows) {
                return [exe]
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/binutils/binutils.go

    // binutils objdump binary. No version check is performed.
    func isBuObjdump(output string) bool {
    	return strings.Contains(output, "GNU objdump")
    }
    
    // findExe looks for an executable command on a set of paths.
    // If it cannot find it, returns cmd.
    func findExe(cmd string, paths []string) (string, bool) {
    	for _, p := range paths {
    		cp := filepath.Join(p, cmd)
    		if c, err := exec.LookPath(cp); err == nil {
    			return c, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top