Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for runEnvU (0.32 sec)

  1. src/cmd/go/internal/envcmd/env.go

    	}
    
    	// Handle 'go env -w' and 'go env -u' before calling buildcfg.Check,
    	// so they can be used to recover from an invalid configuration.
    	if *envW {
    		runEnvW(args)
    		return
    	}
    
    	if *envU {
    		runEnvU(args)
    		return
    	}
    
    	buildcfg.Check()
    	if cfg.ExperimentErr != nil {
    		base.Fatal(cfg.ExperimentErr)
    	}
    
    	for _, arg := range args {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  2. src/cmd/dist/util.go

    	}
    	return keep
    }
    
    const (
    	CheckExit = 1 << iota
    	ShowOutput
    	Background
    )
    
    var outputLock sync.Mutex
    
    // run is like runEnv with no additional environment.
    func run(dir string, mode int, cmd ...string) string {
    	return runEnv(dir, mode, nil, cmd...)
    }
    
    // runEnv runs the command line cmd in dir with additional environment env.
    // If mode has ShowOutput set and Background unset, run passes cmd's output to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 17:50:29 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcshared/cshared_test.go

    		ldLibPath += ":"
    	}
    	ldLibPath += tmpdir
    
    	runenv := []string{"LD_LIBRARY_PATH=" + ldLibPath}
    
    	bin := filepath.Join(tmpdir, "m1") + exeSuffix
    	run(t, goenv, "go", "build", "-o", bin, "./go2c2go/m1")
    	runExe(t, runenv, bin)
    
    	bin = filepath.Join(tmpdir, "m2") + exeSuffix
    	run(t, goenv, "go", "build", "-o", bin, "./go2c2go/m2")
    	runExe(t, runenv, bin)
    }
    
    func TestIssue36233(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:19:50 UTC 2023
    - 21K bytes
    - Viewed (0)
Back to top