Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for getErrorStream (0.05 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/builtin/BuiltinShellCommandRegistryFactory.java

                        Thread out = new Thread(new StreamGobbler(process.getInputStream(), shellContext.writer));
                        Thread err = new Thread(new StreamGobbler(process.getErrorStream(), shellContext.logger::error));
                        out.start();
                        err.start();
                        int exitCode = process.waitFor();
                        out.join();
                        err.join();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  2. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                CountDownLatch latch = new CountDownLatch(2);
                ByteArrayOutputStream stdout = connectStream(process.getInputStream(), latch);
                ByteArrayOutputStream stderr = connectStream(process.getErrorStream(), latch);
    
                process.waitFor(1, TimeUnit.MINUTES);
                latch.await(1, TimeUnit.MINUTES);
                return new ExecResult(args, process.exitValue(), stdout.toString(UTF_8), stderr.toString(UTF_8));
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top