Uh, thanks but it doesn't use the expect module at all. Does it not work? I have a lot more I want to do with my script, this was just a minimal example.
I assume the failure is in my understanding, not the expect process.
···
On 2007-02-03 13:27:35 -0600, Rodrigo Bermejo <rodrigo.bermejo@ps.ge.com> said:
R.B.Love wrote:
How do I use ruby expect to feed input to a simple bash script? Here
is a minimal example of what I'm trying to do. All help appreciated.
First, the simple bash script. When run from the command line it
performs as I expect.