From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Alekseyev Subject: Is it possible to run shell script src blocks as root or to export individual blocks? Date: Fri, 2 Mar 2012 23:40:57 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3gmE-0001KG-DC for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 23:41:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3gmC-0007pE-PU for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 23:41:01 -0500 Received: from mail-pz0-f52.google.com ([209.85.210.52]:39535) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3gmC-0007ov-EN for emacs-orgmode@gnu.org; Fri, 02 Mar 2012 23:41:00 -0500 Received: by dadp12 with SMTP id p12so2526594dad.39 for ; Fri, 02 Mar 2012 20:40:57 -0800 (PST) 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: Emacs orgmode I was wondering if there was an easy way to execute some shell commands contained in a src block as root. Alternatively, is there a quick way to export _just_ that one source block to a temp file so that I could run it as root manually?