in reply to Return code from calling qx
See also the 'system' function details in perlport. There they discuss why you should not use the hard coded constants, but instead use the WIFEXITED and WEXITVALUE macros provided by POSIX.
This was discussed in a recent thread 801643 regarding interpreting the results of waitpid.
|
|---|