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 can I get powershell to return the correct exit code when called with the -File argument?

Powershell is returning a 0 exit code, when an error has occurred, if called with the -File argument. Which means my …

powershell exit-code
Is there a complete List of JVM exit codes

I am looking for a complete list of all possible jvm exit codes (not java System.exit(x)). The only …

jvm exit-code
Exit code when python script has unhandled exception

I need a method to run a python script file, and if the script fails with an unhandled exception python …

python exit-code
Application is still running in memory after Application.Exit() is called

The application I am building is still running in memory (checked in Task Manager) after it is closed using Application.…

c# memory exit-code
How to capture the exit status of a shell command in Java?

I'm creating a Junit test file for my CSVreader. I'm reading the contents of CSV files and writing the contents …

java junit exit-code
Getting the exit code of an application started with the "cmd" and "start" commands

I have a console application. Interaction with this application is done via TCP/IP. I also have a test framework …

windows batch-file console-application command-prompt exit-code
Linux: get the exit code from the kill command

If I send a SIGTERM signal to a process using the kill command, I expect an exit code, but I …

linux kill exit-code sigterm
Compiler internal error. Process terminated with exit code 3

I am using Intellij 9.0.4 I checked out a project from SVN, set up tomcat (its running locally), and now I …

intellij-idea exit-code
Unit test script returns exit code = 0 even if tests fail

My testing script looks as follows: import os import sys from unittest import defaultTestLoader as loader, TextTestRunner path_to_my_…

python unit-testing python-3.x exit-code
Jenkins - simply robocopy in Jenkins finishes marks build with failure

I have a simply windows batch command (robocopy) that returns zero errors but is always marked as a failure in …

batch-file jenkins exit-code robocopy