http://www.perlmonks.org?node_id=1012115


in reply to Re: capture STDOUT when some jerk opened STDOUT to /dev/tty
in thread capture STDOUT when some jerk opened STDOUT to /dev/tty

It communicates with a remote server to get the data it must process, and the remote server won't communicate with the script unless it has the right crypto hash...

I decided the rabbit hole was getting too deep, and I wrote my own version in 1 line of shell code (a very long line with lots of pipes and regexen). *sigh*... Sometimes to win, you just have to know when you're beaten.

Tommy
"Perl follows the principle of least astonishment"