Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ProcessBuilder (0.15 sec)

  1. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

            return startProcess(sessionId, cmdList, pbCall, InputStreamThread.MAX_BUFFER_SIZE, null);
        }
    
        public synchronized JobProcess startProcess(final String sessionId, final List<String> cmdList, final Consumer<ProcessBuilder> pbCall,
                final int bufferSize, final Consumer<String> outputCallback) {
            final ProcessBuilder pb = new ProcessBuilder(cmdList);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

            }
    
            // last the goals
            cmdAndArguments.addAll(mavenOptions.goals().orElse(Collections.emptyList()));
    
            try {
                ProcessBuilder pb = new ProcessBuilder()
                        .directory(invokerRequest.cwd().toFile())
                        .command(cmdAndArguments);
    
                if (invokerRequest.jvmArguments().isPresent()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            });
    
        }
    
        protected void executeCommand(final String thumbnailId, final List<String> cmdList) {
            ProcessDestroyer task = null;
            try {
                final ProcessBuilder pb = new ProcessBuilder(cmdList);
                pb.directory(baseDir);
                pb.redirectErrorStream(true);
    
                if (logger.isDebugEnabled()) {
                    logger.debug("Thumbnail Command: {}", cmdList);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                }
                if ("$PASSWORD".equals(s)) {
                    return password;
                }
                return s;
            }).toArray(n -> new String[n]));
            final ProcessBuilder pb = new ProcessBuilder(cmds);
            if (workingDirectory != null) {
                pb.directory(workingDirectory);
            }
            pb.redirectErrorStream(true);
    
            Process currentProcess = null;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. 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)
  7. 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