emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: torres@uniovi.es
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87zjzd3ihw.fsf@gmx.de> (raw)
In-Reply-To: <87txpmeyqn.fsf@uniovi.es> (Emilio Torres Manzanera's message of "Sat, 09 Feb 2013 08:24:16 +0100")

Emilio Torres Manzanera <torres@uniovi.es> 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.

  reply	other threads:[~2013-02-09 10:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-09  7:24 Running a sudo in a #+begin_src sh fails to get tty and askpass Emilio Torres Manzanera
2013-02-09 10:10 ` Michael Albinus [this message]
2013-02-12 19:12   ` Emilio Torres Manzanera

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zjzd3ihw.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=torres@uniovi.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).