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:56:03 -0800 (PST)
User-agent: G2/1.0

> This is automatic in emacs 22

How?

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 is missing?

Thanks for your help,
Nordlöw


reply via email to

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