in reply to Re: Interact with messages
in thread Interact with messages

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: Interact with messages
by psini (Deacon) on Jul 30, 2008 at 10:57 UTC

    Then expect is your friend.

    It allows you to launch a program, wait for one or more prompts and react to them. In substance with Expect you can define a "script" telling it how to answer to different prompts from the program it is executing.

    Rule One: "Do not act incautiously when confronting a little bald wrinkly smiling man."