This content has been marked as final. Show 3 replies
OK, that explains it. I think we had taken the fact that main() returns and int on *NIX that you could return anything that fit in an int into the exit code. I've now found some corroboration that you can only return a value of 0-255.
This also explains why we have never seen this issue on Windows - apparently you can return much larger values on Windows.
Thanks for the assist!