in reply to How to hide system(); output.

backticks !! $output = `$command`;