Are you sure you're not getting the exit status? The value you show (13312) translates to 0x34 after you shift it right by 8 bits, which looks like a reasonable return value. However, I don't know what value you expected to see there. (You need to shift it right 8 bits to get the actual returned value, as mentioned in perldoc perlvar)
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: Capture return value from a cmd when it errors
by roboticus
in thread Capture return value from a cmd when it errors
by sravs448
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |