Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exit value from java.lang.Process#waitFor()

Tags:

java

The method waitFor() returns an integer value which is the return code. The value 0 indicates normal termination. But what are the meanings of other return codes? I am getting an exit value 11. What does that mean? And where all the exit value codes are documented?

like image 674
ParagJ Avatar asked Aug 02 '13 11:08

ParagJ


1 Answers

These values are arbitrary and up to the specific program to define. You should refer to documentation or source code of the program that is outputting this exit code.

like image 170
Uku Loskit Avatar answered Sep 26 '22 06:09

Uku Loskit