7 hours ago, Neil Van Dyke wrote:
> Once you get into "expect"-like interaction with a process using the
> three streams at once, and doing pattern-matching while also
> capturing the output, and doing this all efficiently, it's tricky.
> [...]

Dealing with the three streams and pattern matching on them while
taking care of synchronization issues is needed, but there's another
headache for doing an expect-like thing.  Some programs will behave
differently when they're working on a pty, so you'd also need to deal
with that somehow.  (For example, running ssh and feeding it a
password is something that requires that.)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to