First, find a little background about the exit code in perl ( also here ) and on Windows .
Now - when I execute another process from a perl script (I am open with respect to the method, qx / open / system / exec / IPC::Run , etc.) on Windows :
can I lock exit codes outside the range 0 - 255 ?
On Windows, a process can return a full (signed) 32-bit exit code, and it's not uncommon to encounter something return 0x8...0... , that is, some COM error code or something like that.
source share