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.

Check if process returns 0 with batch file

I want to start a process with a batch file and if it returns nonzero, do something else. I need …

windows process batch-file exit-code
gcc-4.2 failed with exit code 1 iphone

I've seen this error with different variations on discussion forums but being a non programmer I'm not sure how to …

iphone gcc exit-code
ruby system command check exit code

I have a bunch of system calls in ruby such as the following and I want to check their exit …

ruby command exit exit-code
Return value from thread

How do I get a thread to return a tuple or any value of my choice back to the parent …

python multithreading python-multithreading exit-code
-command's exit code is not the same as a script's exit code

I need to run a script with PowerShell -Command "& scriptname", and I would really like it if the exit …

powershell exit-code
Use of System.exit(0)

public class WrapperTest { static { print(10); } static void print(int x) { System.out.println(x); System.exit(0); } } In the above code …

java exit-code
Execute bash command in Node.js and get exit code

I can run a bash command in node.js like so: var sys = require('sys') var exec = require('child_process').…

node.js bash exit-code
STS launch error - Java was started but returned exit code=13

So I installed STS a while back now onto my Windows 7 64-bit machine, every time I try run STS I …

java exit-code
How do I set $? or the return code in Bash?

I want to set a return value once so it goes into the while loop: #!/bin/bash while [ $? -eq 1 ] do #…

bash error-handling return-value exit-code
Getting exit code of last shell command in another script

I am trying to beef up my notify script. The way the script works is that I put it behind …

bash shell zsh exit-code