Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cmd (0.11 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

            workingDir = projectDir
            isIgnoreExitValue = true
            commandLine = listOf("git", *args)
            if (OperatingSystem.current().isWindows) {
                commandLine = listOf("cmd", "/c") + commandLine
            }
        }
        return execOutput.result.zip(execOutput.standardOutput.asText) { result, outputText ->
            if (result.exitValue == 0) outputText.trim()
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  2. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            } else if (isMacOS()) {
                return new String[]{"ps", "x", "-o", "pid,command"};
            } else {
                return new String[]{"ps", "x", "-o", "pid,cmd"};
            }
        }
    
        private static boolean isWindows() {
            return System.getProperty("os.name").toLowerCase().contains("windows");
        }
    
        private static boolean isMacOS() {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 26 09:46:00 GMT 2024
    - 11.3K bytes
    - Viewed (0)
Back to top