Hi everybody,
I am new to Perl and didn't find answer to my question, so here it is:
How do I respond to system prompt Y/N ?
I wrote a Perl script that connects to FTP server, locate .tgz file, download, unTAR, start installation proccess, BOOM!!
System prompt appears: do you want to reboot Y/N
I tried
system "y"; # doesn't work
should I use pause or wait during installation?
Thanks in advance
I am new to Perl and didn't find answer to my question, so here it is:
How do I respond to system prompt Y/N ?
I wrote a Perl script that connects to FTP server, locate .tgz file, download, unTAR, start installation proccess, BOOM!!
System prompt appears: do you want to reboot Y/N
I tried
system "y"; # doesn't work
should I use pause or wait during installation?
Thanks in advance