From: Andres Salomon Date: 2005-01-12T06:34:19+09:00 Subject: return code from Open3.popen? 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.