Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addCriticalEnv (0.52 sec)

  1. src/os/exec/exec.go

    		j := len(out) - i - 1
    		out[i], out[j] = out[j], out[i]
    	}
    
    	return out, err
    }
    
    // addCriticalEnv adds any critical environment variables that are required
    // (or at least almost always required) on the operating system.
    // Currently this is only used for Windows.
    func addCriticalEnv(env []string) []string {
    	if runtime.GOOS != "windows" {
    		return env
    	}
    	for _, kv := range env {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
Back to top