in reply to interact with a UNIX pgm
This works if you know the answers ahead of time. If you need to make decisions based on the output of the program, then Expect.pm is your baby.name_of_cmd <<END answer_to_question_1 answer_to_question_2 answer_to_question_3 answer_to_question_4 END
thor
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: interact with a UNIX pgm
by lafont99 (Initiate) on Dec 27, 2002 at 19:30 UTC |