The python version of peopen3 allows you to see the staus, so I
suspect it's doable in Ruby.