emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Is it possible to run shell script src blocks as root or to expo


From: Eric Schulte
Subject: Re: [O] Is it possible to run shell script src blocks as root or to export individual blocks?
Date: Sat, 03 Mar 2012 07:25:32 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux)

Leo Alekseyev <address@hidden> writes:

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

Just call org-babel-tangle with a prefix argument and it only tangles
the current block

>

-- 
Eric Schulte
http://cs.unm.edu/~eschulte/



reply via email to

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