Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Perl replacement for choice.com

by VinsWorldcom (Priest)
on Mar 02, 2013 at 14:51 UTC ( #1021421=note: print w/ replies, xml ) Need Help??


in reply to Perl replacement for choice.com

Windows 7 has choice.exe that should run fine in x64 environments:

VinsWorldcom@C:\Users\VinsWorldcom> ver Microsoft Windows [Version 6.1.7601] VinsWorldcom@C:\Users\VinsWorldcom> where choice C:\Windows\System32\choice.exe


Comment on Re: Perl replacement for choice.com
Download Code
Re^2: Perl replacement for choice.com
by onelander (Sexton) on Mar 02, 2013 at 20:57 UTC
    Curious, is that Windows 7 computer a 64bit version? I know the 32bit version has it. Either way, thank you very much. This gives me something to look into.

      All versions of Windows NT/XP/Vista/Windows7; 32- & 64-bit have choice.exe.


      With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      "Science is about questioning the status quo. Questioning authority".
      In the absence of evidence, opinion is indistinguishable from prejudice.

        I realized I never made it clear as to why I was doing this. It appears that on Windows 7 32 and 64 bit, you can run into scenarios where choice will never timeout even though it is supposed to.

        The problem shows up when the window gets and loses focus when the prompt is showing on screen. Unfortunately, we run into it somewhat often due to scripts we use. Since we jump back and forth between windows it is possible to encounter this problem multiple times in a script run. I ran into once today and it has been encountered by other members of my team.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021421]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2014-12-18 01:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (41 votes), past polls