But to answer your question, you can try close STDIN before running the command, assuming you don't need to get anything from STDIN elsewhere in your script.
In reply to Re: Script waiting on 'Press any key to continue'
by Roy Johnson
in thread Script waiting on 'Press any key to continue'
by deross
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |