How do I run a sudo command in Emacs?

Posted by Inaimathi on Stack Overflow See other posts from Stack Overflow or by Inaimathi
Published on 2010-03-18T18:07:17Z Indexed on 2010/03/18 18:11 UTC
Read the original article Hit count: 232

Filed under:
|
|

I tried using shell-command, but it just does something like this:

Sudo password:
incorrect, try again.
Sudo password:
incorrect, try again.
Sudo password:
incorrect, try again.
Failed three attempts.

without actually asking for a password. I don't want to have to start up Emacs using sudo emacs, but I guess that's an option if nothing else will work.

© Stack Overflow or respective owner

Related posts about emacs

Related posts about shell-command