Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for ExecResult (0.05 seconds)

  1. .teamcity/scripts/CheckBadMerge.java

            return new ExecResult(stdout, stderr, returnCode);
        }
    
        private static String getStdout(String[] command) throws IOException, InterruptedException, ExecutionException {
            ExecResult execResult = exec(command);
            if (execResult.returnCode() != 0) {
                throw new AssertionError(String.join(" ", command) + " failed with return code: " + execResult);
            }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 30 16:25:09 GMT 2026
    - 9K 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. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            }
        }
    
        static void pkill(String pid) {
            ExecResult execResult = run(isWindows() ? new String[]{"taskkill.exe", "/F", "/T", "/PID", pid} : new String[]{"kill", "-9", pid});
            if (execResult.code != 0) {
                System.out.println("Failed to kill daemon process " + pid + ". Maybe already killed?\nStdout:\n" + execResult.stdout + "\nStderr:\n" + execResult.stderr);
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Sep 23 13:49:45 GMT 2025
    - 12K bytes
    - Click Count (0)
  4. .teamcity/scripts/CheckWrapper.java

            ExecResult r = exec(cmd);
            if (r.exitCode() != 0) {
                throw new AssertionError(String.join(" ", cmd) + " failed: " + r);
            }
        }
    
        private static String stdout(String... cmd) throws IOException, InterruptedException, ExecutionException {
            ExecResult r = exec(cmd);
            if (r.exitCode() != 0) {
    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)
Back to Top