Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 33 of 33 for lockPath (0.07 sec)

  1. cmd/kubeadm/app/preflight/checks.go

    // Check validates if the given executable is present in the path.
    func (ipc InPathCheck) Check() (warnings, errs []error) {
    	klog.V(1).Infof("validating the presence of executable %s", ipc.executable)
    	_, err := ipc.exec.LookPath(ipc.executable)
    	if err != nil {
    		if ipc.mandatory {
    			// Return as an error:
    			return nil, []error{errors.Errorf("%s not found in system path", ipc.executable)}
    		}
    		// Return as a warning:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:20:55 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testshared/shared_test.go

    		t.Skip("gccgo test skipped on PPC64 until issue #60798 is resolved")
    	}
    
    	gccgoName := os.Getenv("GCCGO")
    	if gccgoName == "" {
    		gccgoName = "gccgo"
    	}
    	gccgoPath, err := exec.LookPath(gccgoName)
    	if err != nil {
    		t.Skip("gccgo not found")
    	}
    	cmd := exec.Command(gccgoPath, "-dumpversion")
    	output, err := cmd.CombinedOutput()
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/vcs/vcs.go

    	if len(args) >= 2 && args[0] == "-go-internal-cd" {
    		if filepath.IsAbs(args[1]) {
    			dir = args[1]
    		} else {
    			dir = filepath.Join(dir, args[1])
    		}
    		args = args[2:]
    	}
    
    	_, err := cfg.LookPath(v.Cmd)
    	if err != nil {
    		fmt.Fprintf(os.Stderr,
    			"go: missing %s command. See https://golang.org/s/gogetcmd\n",
    			v.Name)
    		return nil, err
    	}
    
    	cmd := exec.Command(v.Cmd, args...)
    	cmd.Dir = dir
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top