SirCharles
Programmer
I'd like to write a batch job to invoke a program
and then supply prompted for information. I'd like to do this in batch mode,
so I don't have to interact with the program on every invokation. I'd like the script to do that for me. Anyone done this one? I tried just invoking the program
from a script and then echoing lines after that in
sh, but stuff didn't echo until after I manually interacted
with program to answer prompts.
So, question is 'How to invoke program and give it information prompted for by program in batch mode?
and then supply prompted for information. I'd like to do this in batch mode,
so I don't have to interact with the program on every invokation. I'd like the script to do that for me. Anyone done this one? I tried just invoking the program
from a script and then echoing lines after that in
sh, but stuff didn't echo until after I manually interacted
with program to answer prompts.
So, question is 'How to invoke program and give it information prompted for by program in batch mode?