jblapham has asked for the wisdom of the Perl Monks concerning the following question:
Has anyone ever written a perl script to control and interactive program. One that prompts for input. I want to call the program, wait for the prompt, send it the input, and capture the return code. I'm not sure how to do this. Any examples are welcome.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Controling and interactive program
by Paladin (Vicar) on Aug 13, 2004 at 20:25 UTC | |
by perrin (Chancellor) on Aug 13, 2004 at 21:06 UTC | |
|
Re: Controling and interactive program
by etcshadow (Priest) on Aug 13, 2004 at 22:23 UTC | |
|
Re: Controling and interactive program
by johnnywang (Priest) on Aug 13, 2004 at 20:32 UTC | |
|
Re: Controling and interactive program
by zentara (Cardinal) on Aug 14, 2004 at 13:12 UTC |