Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for exitcode (0.05 sec)

  1. misc/go_android_exec/main.go

    	cmd.Stderr = struct{ io.Writer }{os.Stderr}
    	err := cmd.Run()
    
    	// Before we process err, flush any further output and get the exit code.
    	exitCode, err2 := filter.Finish()
    
    	if err != nil {
    		return 0, fmt.Errorf("adb exec-out %s: %v", args, err)
    	}
    	return exitCode, err2
    }
    
    func adb(args ...string) error {
    	if out, err := adbCmd(args...).CombinedOutput(); err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. 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
    			}
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

         */
        public static final class ExitException extends InvokerException {
            private final int exitCode;
    
            public ExitException(int exitCode) {
                super("EXIT");
                this.exitCode = exitCode;
            }
        }
    
        @SuppressWarnings("VisibilityModifier")
        public static class LookupInvokerContext<
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  4. cni/pkg/repair/repaircontroller.go

    	matchExitCode := func(state *corev1.ContainerStateTerminated) bool {
    		// If we are filtering on init container exit code and the termination message does not match, exit
    		if ec := c.cfg.InitExitCode; ec == 0 || ec == int(state.ExitCode) {
    			return true
    		}
    		return false
    	}
    
    	// Only check pods that have the sidecar annotation; the rest can be
    	// ignored.
    	if c.cfg.SidecarAnnotation != "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. misc/ios/go_ios_exec.go

    	if len(os.Args) < 2 {
    		log.Fatal("usage: go_ios_exec a.out")
    	}
    
    	// For compatibility with the old builders, use a fallback bundle ID
    	bundleID = "golang.gotest"
    
    	exitCode, err := runMain()
    	if err != nil {
    		log.Fatalf("%v\n", err)
    	}
    	os.Exit(exitCode)
    }
    
    func runMain() (int, error) {
    	var err error
    	tmpdir, err = os.MkdirTemp("", "go_ios_exec_")
    	if err != nil {
    		return 1, err
    	}
    	if !debug {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 18 16:32:49 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  6. api/go1.12.txt

    pkg os, const ModeType = 2401763328
    pkg os, func UserHomeDir() (string, error)
    pkg os, method (*File) SyscallConn() (syscall.RawConn, error)
    pkg os, method (*ProcessState) ExitCode() int
    pkg os/exec, method (ExitError) ExitCode() int
    pkg reflect, method (*MapIter) Key() Value
    pkg reflect, method (*MapIter) Next() bool
    pkg reflect, method (*MapIter) Value() Value
    pkg reflect, method (Value) MapRange() *MapIter
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Jan 02 21:21:53 UTC 2019
    - 13.5K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                return getCanonicalPath(path.getParent()).resolve(path.getFileName());
            }
        }
    
        static class ExitException extends Exception {
            int exitCode;
    
            ExitException(int exitCode) {
                this.exitCode = exitCode;
            }
        }
    
        //
        // Customizations available via the CLI
        //
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/batch/v1/generated.proto

    }
    
    // PodFailurePolicyOnExitCodesRequirement describes the requirement for handling
    // a failed pod based on its container exit codes. In particular, it lookups the
    // .state.terminated.exitCode for each app container and init container status,
    // represented by the .status.containerStatuses and .status.initContainerStatuses
    // fields in the Pod status, respectively. Containers completed with success
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. gradlew.bat

    :fail
    rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
    rem the _cmd.exe /c_ return code!
    set EXIT_CODE=%ERRORLEVEL%
    if %EXIT_CODE% equ 0 set EXIT_CODE=1
    if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
    exit /b %EXIT_CODE%
    
    :mainEnd
    if "%OS%"=="Windows_NT" endlocal
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Nov 25 16:14:58 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  10. integration-tests/gradle/gradlew.bat

    :fail
    rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
    rem the _cmd.exe /c_ return code!
    set EXIT_CODE=%ERRORLEVEL%
    if %EXIT_CODE% equ 0 set EXIT_CODE=1
    if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE%
    exit /b %EXIT_CODE%
    
    :mainEnd
    if "%OS%"=="Windows_NT" endlocal
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 28 18:15:57 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top