I've been using powershell.el in MS Windows Emacs, but I sometimes want to be administrative mode so that I can do software installation via chocolatey, etc.

Is there any way to call shell command, or call-process, in admin. mode from Emacs?

  • I don't think this is possible from within emacs, but you could try to elevate the privileges with the script described here. – theldoria Mar 29 '18 at 6:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.