[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
http://sourceforge.net/mailarchive/message.php?msg_name=b72feacd0807291116h6464db1ek7b430edef70ece69%40mail.gmail.com

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
online.

Regards,
Davide



More information about the LUG mailing list