From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Herzig Subject: passing string to sh source code block Date: Sat, 16 Mar 2019 12:47:48 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:39244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h58jB-0004hM-18 for emacs-orgmode@gnu.org; Sat, 16 Mar 2019 08:47:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h58j9-0000tc-FR for emacs-orgmode@gnu.org; Sat, 16 Mar 2019 08:47:52 -0400 Received: from mail-oln040092071072.outbound.protection.outlook.com ([40.92.71.72]:20743 helo=EUR03-DB5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h58j9-0000ob-3X for emacs-orgmode@gnu.org; Sat, 16 Mar 2019 08:47:51 -0400 Content-Language: en-US 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" To: Orgmode Mailing List Hi! I am trying to pass a path to an org-source-codeblock using the :var tag in the header: #+BEGIN_SRC sh :var directory=3D"/x/y/z" cd directory ls #+END_SRC The output of the ls command shows that I obviously stay in the location of my .org file (not "/x/y/z") -- is there a way to pass the path to the so= urce codeblock, without having to enter the path inside the block? Any hint appreciated, thanks in advance, cheers, Daniel