in reply to How to Automate Response to Executable's Prompt?
That should put a newline on the program's standard input. If it doesn't work, then you want to use Expect.system("echo|cmd ...")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to Automate Response to Executable's Prompt?
by socrtwo (Sexton) on Jun 11, 2012 at 12:26 UTC | |
|
Re^2: How to Automate Response to Executable's Prompt?
by socrtwo (Sexton) on Jun 11, 2012 at 18:57 UTC | |
by dasgar (Priest) on Jun 11, 2012 at 23:11 UTC |