Perhaps the program you are executing is looking for a specific "any" key ;-) because this works for me...
system("echo y | pause"); __DATA__ C:\WINDOWS\Desktop>perl echo.pl Press any key to continue . . . C:\WINDOWS\Desktop>
In reply to Re: forcing STDIN with windows
by Mr. Muskrat
in thread forcing STDIN with windows
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |