Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SYSTEMROOT (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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