in reply to yes/no prompt
After the connection is secure, I get a "Do you wish to continue prompt? y/n." This is probably not the best way to do it. It is simple and amateur, but jumping into Expect is pretty far above my head right now. If Expect is the only way, then I will dig in and read up, but I was looking for options on how else I can run the vpn client or get past the y/n prompt.$login="vpnclient.exe connect \"VPN NAME\" user \"username\" pwd \"pas +sword\" "; system ("exit"); system ($login);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: yes/no prompt
by madbombX (Hermit) on Sep 04, 2006 at 10:58 UTC | |
|
Re^2: yes/no prompt
by friedo (Prior) on Sep 04, 2006 at 17:39 UTC |