Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 8 of 8 for exitCode (0.24 seconds)

  1. src/main/java/org/codelibs/fess/exec/SuggestCreator.java

                }
    
                exitCode = process(options);
            } catch (final ContainerNotAvailableException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("SuggestCreator is stopped.", e);
                } else if (logger.isInfoEnabled()) {
                    logger.info("SuggestCreator is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  2. .teamcity/scripts/FindCommits.java

            ExecResult r = exec(cmd);
            if (r.exitCode != 0) {
                throw new AssertionError(String.join(" ", cmd) + " failed: " + r);
            }
            return r.stdout;
        }
    
        private static final class ExecResult {
            final int exitCode;
            final String stdout;
            final String stderr;
    
            ExecResult(int exitCode, String stdout, String stderr) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  3. .teamcity/scripts/CheckWrapper.java

            }
            return r.stdout();
        }
    
        private record ExecResult(
            int exitCode,
            String stdout,
            String stderr
        ) {
            @Override
            public String toString() {
                return "exitCode=" + exitCode + ", stdout=" + summarize(stdout) + ", stderr=" + summarize(stderr);
            }
    
            private static String summarize(String s) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jan 20 03:53:25 GMT 2026
    - 6.4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

                }
                exitCode = 0;
            } catch (final ContainerNotAvailableException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("ThumbnailGenerator is stopped.", e);
                } else if (logger.isInfoEnabled()) {
                    logger.info("ThumbnailGenerator is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/exec/Crawler.java

                }
    
                exitCode = process(options);
            } catch (final ContainerNotAvailableException e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("Crawler is stopped.", e);
                } else if (logger.isInfoEnabled()) {
                    logger.info("Crawler is stopped.");
                }
                exitCode = Constants.EXIT_FAIL;
            } catch (final Throwable t) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java

                // Destroy the process
                int exitCode = processHelper.destroyProcess(sessionId);
                assertFalse(processHelper.isProcessRunning(sessionId));
    
                // Exit code should be non-zero for forcibly destroyed process, or -1
                assertTrue(exitCode != 0 || exitCode == -1);
            } catch (Exception e) {
                fail("Unexpected exception: " + e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 16K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                        if (exitValue != 0) {
                            logger.warn("{} failed: exitCode={}, command={}", getName(), exitValue, commandList);
                        }
    
                        if (logger.isDebugEnabled()) {
                            logger.debug("{} finished: exitCode={}", getName(), exitValue);
                        }
                        return exitValue;
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 01 12:47:47 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                }
    
                final int exitValue = currentProcess.exitValue();
    
                if (logger.isInfoEnabled()) {
                    logger.info("Command execution completed for user: username={}, exitCode={}", username, exitValue);
                }
                if (logger.isDebugEnabled()) {
                    logger.debug("Process output:\n{}", it.getOutput());
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.4K bytes
    - Click Count (0)
Back to Top