I have a perl script that I want to launch at the boot up of my system. I need the script to wait for a timed duration waiting for input, and if no input is received, then it will just exit. Basically "Press any key in the next 10 seconds to invoke script"
I know how to grab user input from the command line, I just havn't figured out how to make it wait for only a limited duration.
Thank in advance.
In reply to Timed wait for input by dominic7
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |