From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Albinus Subject: Re: Running a sudo in a #+begin_src sh fails to get tty and askpass Date: Sat, 09 Feb 2013 11:10:35 +0100 Message-ID: <87zjzd3ihw.fsf@gmx.de> References: <87txpmeyqn.fsf@uniovi.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U47OM-0002gl-25 for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 05:10:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U47OK-0002vh-UZ for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 05:10:41 -0500 Received: from mout.gmx.net ([212.227.15.19]:61307) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U47OK-0002vV-Ld for emacs-orgmode@gnu.org; Sat, 09 Feb 2013 05:10:40 -0500 Received: from mailout-de.gmx.net ([10.1.76.33]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MQbrP-1UVwLg41Eb-00U1OY for ; Sat, 09 Feb 2013 11:10:38 +0100 In-Reply-To: <87txpmeyqn.fsf@uniovi.es> (Emilio Torres Manzanera's message of "Sat, 09 Feb 2013 08:24:16 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: torres@uniovi.es Cc: emacs-orgmode@gnu.org Emilio Torres Manzanera writes: > Dear list, > I want to compile (C-c C-c) the following code > > #+begin_src sh > sudo apt-get update > #+end_src #+begin_src sh :dir /sudo:: apt-get update #+end_src > Thanks! > Emilio Best regards, Michael.