java - Does Android care about exit status code passed to System.exit(...)? -
if kill android app system.exit(...), matter status code pass? couldn't find documentation on whether android ignores or whether ones lead error messages example or have other meaning.
android not care, no. java thing -- can use them own debugging etc etc.
here's example of system exit codes: http://www.opensource.apple.com/source/libc/libc-320/include/sysexits.h
but pretty much, > 0 means abnormal exit. can set whatever want, i'd stick 0 unless you're interacting other things.
it seems accepted convention.
Comments
Post a Comment