Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for is_macos (0.14 sec)

  1. 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)
  2. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

                            OperatingSystem.current().isWindows -> requirements = listOf("os=windows", "gbt-dogfooding")
                            OperatingSystem.current().isMacOsX -> requirements = listOf("os=macos", "gbt-dogfooding")
                        }
                    } else {
                        requirements = listOf("gbt-dogfooding")
                    }
                }
            }
    
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jan 17 13:36:27 GMT 2024
    - 15.7K bytes
    - Viewed (0)
Back to top