help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sudo command with minibuffer password prompt


From: Nordlöw
Subject: Re: sudo command with minibuffer password prompt
Date: Wed, 16 Dec 2009 05:59:19 -0800 (PST)
User-agent: G2/1.0

> In both Vanilla Emacs 22 and 23 CVS
>   (require 'tramp)
>   (shell-command "sudo touch ~/.emacs")
> fails with the message
>   sudo: no tty present and no askpass program specified

What I really want to do is to spawn an install using apt-get install
from within emacs.

/Nordlöw


reply via email to

[Prev in Thread] Current Thread [Next in Thread]