Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
First of all let me state my problem. I have a program that I execute via a system call, and it prompts the user to hit any key to continue.
What I want to do is automate this step for them. I've searched the archives, and found several posts but unfortunatley they didn't work (i.e.
system ( "echo y | command_I'm_running" );
Does anyone have any ideas?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: forcing STDIN with windows
by Mr. Muskrat (Canon) on Aug 06, 2003 at 17:19 UTC | |
|
Re: forcing STDIN with windows
by BrowserUk (Patriarch) on Aug 06, 2003 at 21:16 UTC | |
|
Re: forcing STDIN with windows
by Aristotle (Chancellor) on Aug 06, 2003 at 17:00 UTC | |
|
Re: forcing STDIN with windows
by Limbic~Region (Chancellor) on Aug 06, 2003 at 16:52 UTC | |
|
Re: forcing STDIN with windows
by Mr. Muskrat (Canon) on Aug 06, 2003 at 17:05 UTC |