in reply to $? stuck returning -1...
$? == -1 means the system call to launch the command failed. The error code/msg is in $!.
This is the confusing part. Why am I getting $?=-1 after the backtick command works just fine?
Aaaahhh, joost: explains all. Thanks!