Hi,

Is there a (non-hackish) way to get the error code from Open3.popen()? 
The only way I seem to be able to do it currently is by appending "echo
$?" to the command, and parsing it out of stdout.  $?.exitstatus contains
some random value.