Subject: return code from Open3.popen?
From: Andres Salomon <dilinger voxel.net>
Date: Wed, 12 Jan 2005 06:34:19 +0900
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.