Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for exitValue (0.1 sec)

  1. src/main/java/org/codelibs/fess/job/GenerateThumbnailJob.java

                currentProcess.waitFor();
                it.join(5000);
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
                    logger.info("ThumbnailGenerator: Exit Code={} - Process Output:\n{}", exitValue, it.getOutput());
                }
                if (exitValue != 0) {
                    final StringBuilder out = new StringBuilder();
                    if (processTimeout) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                }
    
                final int exitValue = p.exitValue();
                if (exitValue != 0) {
                    logger.warn("{} is failed (exit code:{}, timeout:{}): {}", getName(), exitValue, task.isExecuted(), commandList);
                }
    
                if (logger.isDebugEnabled()) {
                    logger.debug("{} is finished with exit code {}.", getName(), exitValue);
                }
            } catch (final Exception e) {
    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. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

                    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);
                }
            }
            return -1;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top