Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SYSTEMROOT (0.35 sec)

  1. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/DefaultGradleRunner.java

                // Without the SystemRoot environment variable been defined, Gradle Runner doesn't work on Windows when requiring network
                // connections.
                effectiveEnvironment.put("SystemRoot", System.getenv("SystemRoot"));
            }
    
            effectiveArguments.addAll(arguments);
            if (environment != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/path/filepath/path_windows_test.go

    			return
    		}
    	}
    
    	// on some systems, SystemRoot is required for cmd to work
    	systemRoot := os.Getenv("SystemRoot")
    
    	for i, d := range tt.result {
    		if d == "" {
    			continue
    		}
    		exp := []byte(d + "\r\n")
    		cmd := &exec.Cmd{
    			Path: comspec,
    			Args: []string{`/c`, cmdfile},
    			Env:  []string{`Path=` + systemRoot + "/System32;" + tt.list, `SystemRoot=` + systemRoot},
    			Dir:  tmp,
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/timeout/JavaProcessStackTracesMonitorSpec.groovy

            ]
        }
    
        @Requires(UnitTestPreconditions.Windows)
        def 'can extract process info from windows wmic'() {
            given:
            def output = '''
    CommandLine ProcessId
    \\SystemRoot\\System32\\smss.exe            244
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. src/net/http/cgi/host.go

    		return []string{"LD_LIBRARY_PATH", "LD_LIBRARYN32_PATH", "LD_LIBRARY64_PATH"}
    	case "illumos", "solaris":
    		return []string{"LD_LIBRARY_PATH", "LD_LIBRARY_PATH_32", "LD_LIBRARY_PATH_64"}
    	case "windows":
    		return []string{"SystemRoot", "COMSPEC", "PATHEXT", "WINDIR"}
    	}
    	return nil
    }()
    
    // Handler runs an executable in a subprocess with a CGI environment.
    type Handler struct {
    	Path string // path to the CGI executable
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. src/os/exec/exec.go

    		return env
    	}
    	for _, kv := range env {
    		k, _, ok := strings.Cut(kv, "=")
    		if !ok {
    			continue
    		}
    		if strings.EqualFold(k, "SYSTEMROOT") {
    			// We already have it.
    			return env
    		}
    	}
    	return append(env, "SYSTEMROOT="+os.Getenv("SYSTEMROOT"))
    }
    
    // ErrDot indicates that a path lookup resolved to an executable
    // in the current directory due to ‘.’ being in the path, either
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 20:13:53 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  6. src/cmd/go/script_test.go

    	}
    
    	for _, key := range extraEnvKeys {
    		if val, ok := os.LookupEnv(key); ok {
    			env = append(env, key+"="+val)
    		}
    	}
    
    	return env, nil
    }
    
    var extraEnvKeys = []string{
    	"SYSTEMROOT",         // must be preserved on Windows to find DLLs; golang.org/issue/25210
    	"WINDIR",             // must be preserved on Windows to be able to run PowerShell command; golang.org/issue/30711
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/os/os_test.go

    				break
    			}
    		}
    		if found {
    			return sd
    		}
    		// In a self-hosted iOS build the above files might
    		// not exist. Look for system files instead below.
    	case "windows":
    		return &sysDir{
    			Getenv("SystemRoot") + "\\system32\\drivers\\etc",
    			[]string{
    				"networks",
    				"protocol",
    				"services",
    			},
    		}
    	case "plan9":
    		return &sysDir{
    			"/lib/ndb",
    			[]string{
    				"common",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 83.1K bytes
    - Viewed (0)
Back to top