Top "Exit-code" questions

An exit code is signaled by a program on termination to indicate if it completed successfully, or, if it did not, what sort of failure condition occurred.

How do I get the application exit code from a Windows command line?

I am running a program and want to see what its return code is (since it returns different codes based …

windows command-line process cmd exit-code
In a Bash script, how can I exit the entire script if a certain condition occurs?

I'm writing a script in Bash to test some code. However, it seems silly to run the tests if compiling …

bash scripting exit exit-code
Exit codes in Python

I got a message saying script xyz.py returned exit code 0. What does this mean? What do the exit codes …

python exit-code
How do I specify the exit code of a console application in .NET?

I have a trivial console application in .NET. It's just a test part of a larger application. I'd like to …

c# .net exit-code
Are there any standard exit status codes in Linux?

A process is considered to have completed correctly in Linux if its exit status was 0. I've seen that segmentation faults …

linux error-handling exit-code
Difference between exit(0) and exit(1) in Python

What's the difference between exit(0) and exit(1) in Python? I tried looking around but didn't find a specific question on …

python exit-code
How to quit a C++ program?

I would like my C++ code to stop running if a certain condition is met, but I'm not sure how …

c++ exit-code
Command /usr/bin/codesign failed with exit code 1

I have the following error: Command /usr/bin/codesign failed with exit code 1 Here is what I already did for …

ios iphone exit-code codesign
What is a thread exit code?

What exactly is a thread exit code in the Output window while debugging? What information it gives me? Is it …

c# multithreading debugging exit-code
check if command was successful in a batch file

How within a batch file to check if command start "" javaw -jar %~p0/example.jar was successful or produced an …

batch-file exit-code errorlevel