Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for processBuilder (0.09 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          }
          CommandLine -> {
            return ProcessBuilder(
              "tshark", "-l", "-V", "-o", "tls.keylog_file:$logFile", "-Y", "http2", "-O", "http2,tls",
            )
              .redirectInput(File("/dev/null"))
              .redirectOutput(Redirect.INHERIT)
              .redirectError(Redirect.INHERIT)
              .start()
          }
          Gui -> {
            return ProcessBuilder(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            final List<String> cmdList = parseCommand(command, params);
            if (logger.isInfoEnabled()) {
                logger.info("Command: {}", cmdList);
            }
    
            final ProcessBuilder pb = new ProcessBuilder(cmdList);
            if (workingDirectory != null) {
                pb.directory(workingDirectory);
            }
            if (standardOutput) {
                pb.redirectOutput(outputFile);
            } else {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

                }
                return this;
            }
        }
    
        private static ExecResult run(String... args) {
            try {
                Process process = new ProcessBuilder().command(args).start();
                CountDownLatch latch = new CountDownLatch(2);
                ByteArrayOutputStream stdout = connectStream(process.getInputStream(), latch);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top