Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for waitFor (0.09 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

                            file.toAbsolutePath().toString(),
                            "5.32",
                            "5.27"
                        });
    
                        try {
                            assertEquals(0, p.waitFor(), "Unexpected exit code");
                        } catch (InterruptedException e) {
                            throw new InterruptedIOException(e.toString());
                        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                ist.start();
    
                if (logger.isDebugEnabled()) {
                    logger.debug("Waiting for {}.", getName());
                }
                if (!p.waitFor(commandTimeout + commandDestroyTimeout, TimeUnit.MILLISECONDS)) {
                    logger.warn("Destroying {} because of the process timeout.", getName());
                    p.destroy();
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. .github/workflows/CheckBadMerge.groovy

            Process process = command.execute()
            def stdoutFuture = readStreamAsync(process.inputStream)
            def stderrFuture = readStreamAsync(process.errorStream)
    
            int returnCode = process.waitFor()
            String stdout = stdoutFuture.get()
            String stderr = stderrFuture.get()
            return new ExecResult(stderr: stderr, stdout: stdout, returnCode: returnCode)
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 19 10:35:44 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/job/PythonJob.java

                });
    
                final InputStreamThread it = jobProcess.getInputStreamThread();
                it.start();
    
                final Process currentProcess = jobProcess.getProcess();
                currentProcess.waitFor();
                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                } catch (final InterruptedException e) {
                    logger.warn("Interrupted to wait a process.", e);
                }
                try {
                    process.destroyForcibly().waitFor(processDestroyTimeout, TimeUnit.SECONDS);
                    return process.exitValue();
                } catch (final Exception e) {
                    logger.error("Could not destroy a process correctly.", e);
                }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

                            .put(
                                    "MAVEN_OPTS",
                                    String.join(" ", invokerRequest.jvmArguments().get()));
                }
    
                return pb.start().waitFor();
            } catch (IOException e) {
                invokerRequest.logger().error("IO problem while executing command: " + cmdAndArguments, e);
                return 127;
            } catch (InterruptedException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                mt.start();
    
                final InputStreamThread it = new InputStreamThread(currentProcess.getInputStream(), commandOutputEncoding, maxOutputLine);
                it.start();
    
                currentProcess.waitFor();
                it.join(5000);
    
                if (mt.isTeminated()) {
                    throw new CommandExecutionException("The command execution is timeout: " + String.join(" ", commands));
                }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                });
    
                final InputStreamThread it = jobProcess.getInputStreamThread();
                it.start();
    
                final Process currentProcess = jobProcess.getProcess();
                currentProcess.waitFor();
                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/job/SuggestJob.java

                });
    
                final InputStreamThread it = jobProcess.getInputStreamThread();
                it.start();
    
                final Process currentProcess = jobProcess.getProcess();
                currentProcess.waitFor();
                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

                mt.start();
    
                final InputStreamThread it = new InputStreamThread(currentProcess.getInputStream(), commandOutputEncoding, maxOutputLine);
                it.start();
    
                currentProcess.waitFor();
                it.join(5000);
    
                if (mt.isTeminated()) {
                    throw new ExecutionTimeoutException("The command execution is timeout: " + cmdList);
                }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top