Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

         */
        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);
            pbCall.accept(pb);
            destroyProcess(sessionId);
            JobProcess jobProcess;
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

                if (throwException != null) {
                    throw throwException;
                }
    
                startProcessCalled = true;
                capturedSessionId = sessionId;
                capturedCmdList = new ArrayList<>(cmdList);
    
                ProcessBuilder pb = new ProcessBuilder(cmdList);
                pbConsumer.accept(pb);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  3. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            ProcessDestroyer task = null;
            Process p = null;
            InputStreamThread ist = null;
            try {
                final ProcessBuilder pb = new ProcessBuilder(cmdList);
                pb.directory(baseDir);
                pb.redirectErrorStream(true);
    
                if (logger.isDebugEnabled()) {
                    logger.debug("Thumbnail Command: {}", cmdList);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jul 18 14:34:06 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/job/PythonJobTest.java

                if (throwException != null) {
                    throw throwException;
                }
    
                startProcessCalled = true;
                capturedSessionId = sessionId;
                capturedCmdList = new ArrayList<>(cmdList);
    
                ProcessBuilder pb = new ProcessBuilder(cmdList);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

                boolean isCI = "true".equals(ci) || "true".equals(githubActions);
    
                // First, check if docker command is available
                ProcessBuilder pb = new ProcessBuilder("docker", "--version");
                pb.redirectErrorStream(true);
                Process process = pb.start();
                int exitCode = process.waitFor();
    
                if (exitCode != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

                return lastCommandList;
            }
    
            @Override
            public JobProcess startProcess(String sessionId, List<String> cmdList, java.util.function.Consumer<ProcessBuilder> pbConsumer) {
                lastCommandList = new ArrayList<>(cmdList);
    
                if (exception instanceof RuntimeException) {
                    throw (RuntimeException) exception;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 31.4K bytes
    - Viewed (0)
Back to top