in reply to forcing STDIN with windows
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>
|
|---|