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
In reply to Re: interact with a UNIX pgm
by thor
in thread interact with a UNIX pgm
by lafont99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |