See ruby-expect on the RAA, or Expect in general. Unfortunately,
ruby-expect isn’t really supported any longer and was buggy the last time I
played with it.
Regards,
Dan
···
-----Original Message-----
From: Dmitrii PapaGeorgio [mailto:vrenna@woh.rr.comNOSPAM]
Sent: Tuesday, September 30, 2003 11:59 AM
To: ruby-talk@ruby-lang.org
Subject: Re: command line question.Actually I made up the example using ssh.
I have a lot of apps which asks for user id, password, host,
etc. So I
wanted to know if there was something I could use…for an example.id = “james”
pwd = “pwd”
host = “local”have the code above launch to a specific system command like ssh
so when prompted for user id…vairable id would be sent, for
pwd, etc.