Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for processBuilder (0.09 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. 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)
  3. 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)
  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)
Back to top