exitcodes bigger 255, possible?


if yes, handling system, bombard whatever?



consider following java way (i'm controlling java only an example, any libel good question, some-more operation systems):



public category exitcode {
open stationary vacant main(string args[]) {
system.exit(integer.parseint(args[0]));
}
}


running linux bash, advantage always values reduction equal 255, e.g. (echo $? prints exit formula before executed command)



> java exitcode 2; relate $?
2

> java exitcode 128; relate $?
128

> java exitcode 255; relate $?
255

> java exitcode 256; relate $?
0

> java exitcode 65536; relate $?
0





edited: (only, far) answer next entirely explain happens unixes. i'm still wondering oses.



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members