popen3 is not as powerful as capture3 (not available in Ruby 1.8.7). capture3 returns a status object that contains the exit status of the command. popen3 only returns stdin, stdout and stderr streams. To determine if the command was successful I'm using stderr and making the assumption that if stderr is empty, then no errors occurred. I'm not comfortable with this assumption. What do you guys think? Any alternatives?