Bash Auto Answer
Hello again. I am back with another question. I want to automate answers form a script. Ok the script is not mine to edit, but I want to automatically answer it. My problem is this.
The script runs and asks a series of questions. I want to automatically answer those questions with answers that are pulled form another source.
I run a script it outputs data which is saved to another file. This data is basically the answers to the questions the other script asks. The problem I am running into is that when I call the script form with in the automater then redirect the data into it I get a command can not be found.
If you need more info I will try my best. It also seems that it stops and won't take any input until the damn question is answered. Like if I do an echo right after, or a sleep, it just skips it. I am having problems feeding the actually answer to the prompt.
Any help or ideas would be greatly appreciated.
Kedelfor
|