- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for ProcessHandle (0.18 seconds)
-
android/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");Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 29 18:50:14 GMT 2025 - 11.8K bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
println("TLSv1.3 requires an external command run before first traffic is sent") println("Follow instructions at https://github.com/neykov/extract-tls-secrets for TLSv1.3") println("Pid: ${ProcessHandle.current().pid()}") Thread.sleep(10000) } } CommandLine -> { return ProcessBuilder( "tshark", "-l", "-V", "-o",
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 10.9K bytes - Click Count (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]+)";Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Sep 23 13:49:45 GMT 2025 - 12K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
writer.accept(CLIReportingUtils.showVersionMinimal()); } else if (context.invokerRequest.effectiveVerbose()) { writer.accept(CLIReportingUtils.showVersion( ProcessHandle.current().info().commandLine().orElse(null), describe(context.terminal))); } else { writer.accept(CLIReportingUtils.showVersion()); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0)