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.
Questions tagged [exit-code]
1070 questions
-4
votes
2 answers
Check exit status of function with itself exit status
I have a function ff in 1.sh with exit status 33.
When I call this function in 2.sh and call function ff and if the exit status is 33, then my 2.sh is broken.
How can I do a continue step?
like this:
if [ exit_of_ff -ne 0 ]
then
continue
fi

avsun
- 1
- 1
-4
votes
2 answers
Make java exit out of current program
How do I make java quit the program when it is triggered? I have tried pretty much everything I can do, but I just can't make it quit.

Vishvak Seenichamy
- 102
- 10
-4
votes
1 answer
How to space at end of program c++
"MATH IS FUN LETS..
A. CALCULATE THE AREA OF A CIRCLE
B. CALCULATE THE AREA OF A TRIANGLE
C. CALCULATE THE VOLUME OF A CUBE
Enter A, B, C
A
What is the radius?
5
Area of circle is: 78.5397Program ended with exit code:…

Nathan Schroeder
- 3
- 3
-5
votes
1 answer
Why is my C++ app terminated with exit value -1 but some code logic isn't being executed?
Well basically I have this main method
int main() {
GameMapDriver* gameMapDriver = new GameMapDriver();
int players = 0;
std::cout << "How many players are going to play the game? Insert a numeric value from 2 to 5 : ";
std::cin >> players;
if (…

Fabian Vergara
- 43
- 1
- 6
-5
votes
1 answer
Free pascal exit code 201
my code
I'm trying to make a program to generate amicable numbers under 10000, but after i pressed ctrl+f9, it exited with exit code 201. How do i fix that?

gachaSalt
- 11
- 3