[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] lpty 0.8-1
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 17 Aug 2010 10:20:25 +0200
On Tue, Aug 17, 2010 at 10:12 AM, Gunnar Zötl <gz@tset.de> wrote:
> this message is to announce lpty. lpty is a module that allows a program written in lua to control another program using a pty. Unlike pipes this allows to control even programs asking for passwords (like for example ssh) and catch output that is not terminated by a line feed.
That looks cool - lexpect does something similar (part of the luagdb
package) but in a fairly crude way:
http://lua-users.org/lists/lua-l/2008-03/msg00554.html
(It can handle Windows processes as well, although automating programs
like ftp remains an exercise in frustration because it uses direct
console input for passwords - pexpect has the same problem)
steve d.