in reply to capture STDOUT when some jerk opened STDOUT to /dev/tty
You can use screen(1) to capture the output sent to /dev/tty easily. For instance:
$ screen -L ssh foo.bar.com
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: capture STDOUT when some jerk opened STDOUT to /dev/tty
by Tommy (Chaplain) on Jan 07, 2013 at 21:47 UTC | |
by salva (Canon) on Jan 07, 2013 at 22:56 UTC |
In Section
Seekers of Perl Wisdom