Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 23 for exitcode (0.16 seconds)

  1. .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)
  2. .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)
  3. 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)
  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/cmd/api/main_test.go

    				exitCode = 1
    			} else {
    				_, err := strconv.Atoi(approval)
    				if err != nil {
    					log.Printf("%s:%d: malformed proposal approval #%s\n", filename, i+1, approval)
    					exitCode = 1
    				}
    			}
    			line = strings.TrimSpace(feature)
    		} else {
    			if strings.Contains(line, " #") {
    				log.Printf("%s:%d: unexpected approval\n", filename, i+1)
    				exitCode = 1
    			}
    		}
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 31.4K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. scripts/tests/test_translation_fixer/test_code_blocks/test_code_blocks_number_mismatch.py

        indirect=True,
    )
    def test_gt(runner: CliRunner, root_dir: Path, copy_test_files):
        result = runner.invoke(
            cli,
            ["fix-pages", "docs/lang/docs/doc.md"],
        )
        assert result.exit_code == 1, result.output
    
        fixed_content = (root_dir / "docs" / "lang" / "docs" / "doc.md").read_text("utf-8")
        expected_content = Path(f"{data_path}/translated_doc_number_gt.md").read_text(
            "utf-8"
        )
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 22:43:44 GMT 2026
    - 1.9K bytes
    - Click Count (0)
Back to Top