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.

Exit code of a process terminated with Process.Kill() , in C#

If in my C# application, I am creating a child process that can either terminate normally, or start misbehaving, in …

c# exit-code kill-process
How to set Spark application exit status?

I'm writing a spark application and run it using spark-submit shell script (using yarn-cluster/yarn-client) As I see now, exit …

apache-spark yarn exit-code spark-submit
How do I get the bash command exit code from a Process run from within Java?

I have a program which is: import java.io.*; import java.util.*; public class ExecBashCommand { public static void main(String …

java bash unix exit-code runtime.exec
Apache jsvc fails to stop daemon

I am using a native compiled jsvc to launch a java daemon. I am running this on an openSUSE 32 bit …

apache daemon exit-code jsvc
Auto exit Telnet command back to prompt without human intervention ^] quit close exit code 1

I'm running telnet command on a host for a given port (which is open), it returns 0 (success). For trying telnet …

linux telnet exit exit-code connection-close
Xcode Error: Command /usr/bin/codesign failed with exit code 1

I have no idea why I am getting this error. I believe that I have all the correct provisioning profiles …

xcode exit-code codesign
Does exit code status with zero value always mean successfully run in Perl?

I have a Perl script that will execute three applications. All of it have different exit code status. First application …

perl status exit-code return-code exitstatus
How to set ExitCode in a VCL Forms Application

I can't get ExitCode to work for a VCL forms application. Here is my test application. It was created from …

delphi vcl exit-code return-code
PowerShell and process exit codes

This self-answered question tries to address two distinct aspects of dealing with process exit codes in PowerShell: In PowerShell code, …

powershell error-handling exit-code
Ruby: return nonzero exit status

I would like my Ruby script to return any non-zero exit status upon a certain condition. The exit status itself …

ruby exit-code rakefile