Hi,
I don't know if this is the best place to ask this question. But I am sure Perl can do that job. Anyway, here is my question:
I have an executable file which installs an application. When hit "install", the executable will ask user info. For example,
> install
> Please input your name: (users input their names)
> Please input your ID: (users input their IDs)
...
There are about 20 items need to be input. For some reason, this procedure has to be done more than once with the exact inputs. I am wondering how to write a Perl or maybe shell script to do that.
The main problem is that the "install" executable has all the interface control. I don't know how to feed my inputs to "install", assuming I can save the user info into a file.
Thanks
I don't know if this is the best place to ask this question. But I am sure Perl can do that job. Anyway, here is my question:
I have an executable file which installs an application. When hit "install", the executable will ask user info. For example,
> install
> Please input your name: (users input their names)
> Please input your ID: (users input their IDs)
...
There are about 20 items need to be input. For some reason, this procedure has to be done more than once with the exact inputs. I am wondering how to write a Perl or maybe shell script to do that.
The main problem is that the "install" executable has all the interface control. I don't know how to feed my inputs to "install", assuming I can save the user info into a file.
Thanks