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.

Cannot launch shell script with arguments using Java ProcessBuilder

I am trying to execute a shell script with command line arguments using ProcessBuilder, this shell script inturn calls two …

java shell processbuilder exit-code
ExitCodes bigger than 255, possible?

If yes, on which operating system, shell or whatever? Consider the following java program (I'm using java just as an …

shell operating-system exit-code
Running a Python script within shell script - Check status

Within my shell script I run this command: python script.py I was wondering, as a two part question: How …

python bash shell scripting exit-code
Xcode Exit codes and signals

I've looked around and never found a comprehensive list of exit codes for Xcode especially working with iOS. This question: …

iphone xcode ios exit-code
Using Environment.ExitCode versus returning int from Main

I am planning to use the return code of the C# executable in one of my shell script. I have …

c# exit-code
LG WebOS 3.0 TV App Exit Button Close App and

I am developing a TV app for LG 4K TVs in webOS 3.0. self_evaluation_checklist_3.4.xlsx lists a requirement for …

exit-code webos lg smart-tv
How can I display a 'naked' error message in PowerShell without an accompanying stacktrace?

How can I write to standard error from PowerShell, or trap errors such that: An error message is displayed as …

powershell error-handling stderr exit-code
Detect file creation with watchdog

I am trying to detect when a file with a given name is created in a directory. I am doing …

python multithreading exit-code termination watchdog
Add (collect) exit codes in bash

I need to depend on few separate executions in a script and don't want to bundle them all in an …

bash scripting shell exit-code
Python thread exit code

Is there a way to tell if a thread has exited normally or because of an exception?

python multithreading exit-code