http://qs1969.pair.com?node_id=1171410


in reply to Capturing bash output without displaying STOUT in terminal

Maybe Capture::Tiny might be able to help you to capture the output of a system command without displaying the output to the terminal.