in reply to Re^3: Windows 7 UAC with elevated privileges
in thread Windows 7 UAC with elevated privileges
I don't think it should matter - it's actually closing the current (non-elevated) process and starting the same thing again from the shell with elevated privileges, so it's going to reload @INC the same way anyway.
Look again because that is what it currently isn't doing, @INC is not @ARGV
$ perl -Ishabba -e " use Data::Dump; use Devel::PL_origargv; dd( \@INC +, \@ARGV , [ Devel::PL_origargv->get ] )" -- ro sham bo ( [ "D:\\PL_origargv_shoulndtuseinlinedirectly\\_Inline\\lib", "shabba", "C:/citrusperl/site/lib/MSWin32-x86-multi-thread", "C:/citrusperl/site/lib", "C:/citrusperl/vendor/lib", "C:/citrusperl/lib", ".", ], ["ro", "sham", "bo"], [ "C:\\citrusperl\\bin\\perl.exe", "-Ishabba", "-e", " use Data::Dump; use Devel::PL_origargv; dd( \\\@INC, \\\@ARGV , +[ Devel::PL_origargv->get ] )", "--", "ro", "sham", "bo", ], )
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Windows 7 UAC with elevated privileges
by Michael Roberts (Sexton) on Apr 26, 2014 at 12:59 UTC | |
by Anonymous Monk on Apr 26, 2014 at 21:48 UTC | |
by Michael Roberts (Sexton) on May 05, 2014 at 22:07 UTC |