- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ProcessHandle (0.12 sec)
-
guava/src/com/google/common/io/TempFileCreator.java
* https://github.com/google/guava/issues/6634: ProcessHandle has more accurate information, * but that class isn't available under all environments that we support. We use it if * available and fall back if not. */ String fromSystemProperty = requireNonNull(USER_NAME.value()); try { Class<?> processHandleClass = Class.forName("java.lang.ProcessHandle");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 06 17:11:11 UTC 2023 - 12.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 10.7K bytes - Viewed (0) -
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) -
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)