in reply to Calling a binary from a different platform

Maybe you could run your external program in an eval block.

Replies are listed 'Best First'.
Re^2: Calling a binary from a different platform
by rgren925 (Beadle) on Oct 27, 2014 at 21:52 UTC
    Thanks. Just tried that. Same result. STDERR output and rc = -1 or if I redirect stderr to /dev/null, it returns a 256. I guess what I'm really asking, is there away to determine if a binary is executable on the current platform (not like a -x permissions executable, but a functional "will it execute?") without actually executing it. i.e., a pre-test.