Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. configure.py

    ]
    
    
    class UserInputError(Exception):
      pass
    
    
    def is_windows():
      return platform.system() == 'Windows'
    
    
    def is_linux():
      return platform.system() == 'Linux'
    
    
    def is_macos():
      return platform.system() == 'Darwin'
    
    
    def is_ppc64le():
      return platform.machine() == 'ppc64le'
    
    
    def is_s390x():
      return platform.machine() == 's390x'
    
    
    def is_cygwin():
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  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