http://www.perlmonks.org?node_id=666467

Petras has asked for the wisdom of the Perl Monks concerning the following question:

Hi! This isn't about devcon :~) I've been using Active Perl 5.8 on Windows Vista for several months, no problems. Yesterday, for the first time, UAC has popped up wanting permission to run perl.exe. Annoying, but tolerable (an extra mouse click every single time I want to run a program, even a  perl -e program. Yech.

I could tolerate that, but now Vista launches every instance of Perl in a new process. So, even a program ran from the command line opens a new dos Window that's open just long enough to execute (no chance of seeing output or errors or warnings). Kinda frustrating.

I haven't downloaded any new security udates in the last 48 hours. It just kinda decided to do this on its own. I could completely shut down UAC, but it does serve some purposes.

So, this is more a Vista question than a Perl question, but it only is an issue (for me) when Perl things happen, soooo, sorta-OT?

Cheers! ~p

Ready.
poke 53280,0
poke 53281,0
ctrl+2
load "zork",8,1

West of House

Replies are listed 'Best First'.
Re: (somewhat OT) UAC checking on perl.exe in Windows Vista
by syphilis (Archbishop) on Feb 06, 2008 at 07:54 UTC
    ... open just long enough to execute (no chance of seeing output or errors or warnings)

    You need to add <STDIN>; to the bottom of all of your scripts - then the dos window won't close until you hit return :-)
    Hmmmm ... but that won't work where errors are involved ....

    I, too, have Vista (Business) running a number of perl builds (including Active Perls 5.8.8 and 5.10.0). Thankfully, I haven't yet struck such an issue. The thing is that *something* must have changed - are you sure that updates are not being downloaded and installed automatically ?

    Mind you, if there is such an update waiting out there, then I'll probably cop it, too, sooner or later :-)

    Cheers,
    Rob
Re: (somewhat OT) UAC checking on perl.exe in Windows Vista
by thezip (Vicar) on Feb 06, 2008 at 06:36 UTC

    For my edification, could you please define what UAC is?

    Thanks.


    Your wish is my commandline.
Re: (somewhat OT) UAC checking on perl.exe in Windows Vista
by ddn123456 (Pilgrim) on Jun 10, 2008 at 08:36 UTC