in reply to Re^2: elevated privileges for a single call
in thread elevated privileges for a single call

I haven't used them myself, but take a look at Proc::ProcessTable and Proc::ProcessTable::Process — they may do what you want.

-- Ken

  • Comment on Re^3: elevated privileges for a single call