From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rainer M Krug Newsgroups: gmane.emacs.help Subject: Executing bash bash script from emacs / elisp Date: Fri, 03 Sep 2010 11:20:32 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1283506679 20382 80.91.229.12 (3 Sep 2010 09:37:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Sep 2010 09:37:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 03 11:37:54 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OrSiX-0002sx-G3 for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Sep 2010 11:37:53 +0200 Original-Received: from localhost ([127.0.0.1]:50406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrSiW-0006M5-7m for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Sep 2010 05:37:52 -0400 Original-Received: from [140.186.70.92] (port=35629 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrShL-0006Bh-Ke for help-gnu-emacs@gnu.org; Fri, 03 Sep 2010 05:36:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrSb5-0006V4-Oy for help-gnu-emacs@gnu.org; Fri, 03 Sep 2010 05:30:13 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:51187) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrSb5-0006Um-IF for help-gnu-emacs@gnu.org; Fri, 03 Sep 2010 05:30:11 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OrSay-0006Sy-Bu for help-gnu-emacs@gnu.org; Fri, 03 Sep 2010 11:30:04 +0200 Original-Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Sep 2010 11:30:04 +0200 Original-Received: from R.M.Krug by arn78-1-88-186-171-7.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Sep 2010 11:30:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: arn78-1-88-186-171-7.fbx.proxad.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10pre) Gecko/20100903 Lightning/1.0b2 Shredder/3.1.4pre X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74857 Archived-At: Hi I am a complete beginner concerning elisp - so please bear with me if this is a simple question. I would like to execute a shell (bash) script from elisp, which is then called from org-babel to do some post-processing of the result of tangling. Tangling in org-babel has a hook for post-processing, and I know how to set it. Therefore I am simply looking for a way of executing my shell script from that hook. essentially: this-function-executes-a-shell-script(The_Shell_Script.sh) Thanks, Rainer