Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

        private static final Pattern UNIX_PID_PATTERN = Pattern.compile("([0-9]+)");
        private static final Pattern WINDOWS_PID_PATTERN = Pattern.compile("([0-9]+)\\s*$");
        private static final String MY_PID = String.valueOf(ProcessHandle.current().pid());
        private static final String JAVA_EXECUTABLE_PATTERN_STR = "java(?:\\.exe)?";
        private static final String GRADLE_MAIN_CLASS_PATTERN_STR = "(org\\.gradle\\.[a-zA-Z]+)";
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                writer.accept(CLIReportingUtils.showVersionMinimal());
            } else if (invokerRequest.options().verbose().orElse(false)) {
                writer.accept(CLIReportingUtils.showVersion(
                        ProcessHandle.current().info().commandLine().orElse(null), describe(context.terminal)));
    
            } else {
                writer.accept(CLIReportingUtils.showVersion());
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
Back to top