Dear,
As I tested, the maximum exit code value is just 256.
(Maybe I'm wrong)
if I code as
...
exit 3010
I will retrieve the value 194 from running this script.
I don't know why.
Does anyone know how to exit with code number 4 digits?
Please advise.
Regards,
It is impossible to return an exit code greater than 256.
If you specify an exit code greater than 256, the exit value will be this exit code modulo 256.
'exit 3010' and 'exit 194' give the same exit value
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.