Hi,
I have a script that I have that will wait for input then exit. When run from a command shell (cmd.exe), it waits fine. When I create a shortcut to the perl script, it runs but doesn't wait for input. Now, when I have the shortcut point to cmd.exe then execute the perl script, it waits perfectly. So, obviously Term::ReadKey requires some component with cmd.exe for the key notification. Does anyone know of a module that would wait for key input while running from a shortcut (without cmd.exe)?
use Term::ReadKey ReadMode('cbreak'); print " --- DONE ---\n"; my $char = ReadKey(0); ReadMode('normal')
ActiveState Perl 5.8.6
Jason L. Froebe
No one has seen what you have seen, and until that happens, we're all going to think that you're nuts. - Jack O'Neil, Stargate SG-1
In reply to WinXP, shortcut and waiting for user input by jfroebe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |