[lug] How to redirect a program that writes to tty?

Davide Del Vento davide.del.vento at gmail.com
Mon Nov 1 15:51:33 MDT 2010

> (note: I asked this very question here, if you prefer to answer on a
> public site:
> http://stackoverflow.com/questions/4056075/ )

Thanks for your time. I answered both questions myself: as a design
choice, module is an eval and they took the (questionable) choice to
use stderr/tty instead of stdout/stderr to keep their side of the
design easier. See

My solution, since I couldn't use any of the other recommended tools
(e.g. script, expect) is the a python mini-wrapper which I posted


More information about the LUG mailing list