Don't be silly. Open the process with a file handle, and you can write data to it that way. For instance:
# /* Open The Program (Just Like A File) Piping Data To It (For Writing) */
open (FH, "| /path2/install/program");
# /* Actually Write To The Process */
print FH "Y\n";
close(FH);
It will obviously be more complicated than that... but if you change the path and program to your install program, and follow through it step by step, you'll be good to go.
Reputation Points: 361
Solved Threads: 214
Taboo Programmer
Offline 2,413 posts
since Dec 2004