in reply to passing string/refs to run_on_finish with Parallel::ForkManager
Thus exit codes irrespective of what language the program might be written in are limited by operating system conventions to what can fit into a register - usually max 64 bits these days although the exact implementation is likely to have its roots in the first implementation of Unix on a 16 bit machine. At that point in time (early 1970s) the machine was the PDP-11. Its registers were numbered R0 to R11 and the exit code of any program was placed in R0, a sixteen bit register to be picked up after exit by the shell.
^M Free your mind!
|
|---|