in reply to Re: Call external exe
in thread Call external exe

or you could use Expect. Read "perldoc Expect", it does what you want.

I thought Expect didn't work on Windows (except possible in Cygwin)?

You probably want to consider moving up to a gui, like Tk, to get input and feed it to your program

Nowhere does he say he needs input form the user. In fact, it sounds like he wants to save the user from having to input constant data.