I'll try to explain this as best I can. Its fairly simple (I think) but I am not sure how to go about doing this.
I am writing a script that launches another program/daemon at the command line. The problem is that the program it launches waits for user input. It basically overtakes my script and I can't think of anyway to pass the answers to the program in the script. This is something that would have to be done quite often and the input is always going to be the same. Automating this would be a huge help.
If anyone has any ideas please let me know. Thanks
I am writing a script that launches another program/daemon at the command line. The problem is that the program it launches waits for user input. It basically overtakes my script and I can't think of anyway to pass the answers to the program in the script. This is something that would have to be done quite often and the input is always going to be the same. Automating this would be a huge help.
If anyone has any ideas please let me know. Thanks