use Expect; $lis = Expect -> spawn ("/bin/yourprog"); $lis -> expect (30, "Please Enter your selection:"); print $lis "1\r";
In reply to Re: feeding a menu from script
by jobber
in thread feeding a menu from script
by suekawar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |