in reply to capture STDOUT when some jerk opened STDOUT to /dev/tty
I CAN'T touch the script
Is there some way to capture the output and get it to stop spewing its text to my terminal?
perl my_untouched_script 1>/dev/nullOne liner example
perl -e 'print "Shut up!"' 1>/dev/null
|
|---|