You should be using exec instead of qx//
In reply to Re: Problem dup'ing STDOUT by holo in thread Problem dup'ing STDOUT by nimdokk