[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Python source block and :dir header arg
From: |
Joao Cortes |
Subject: |
[O] Python source block and :dir header arg |
Date: |
Mon, 1 Apr 2019 17:06:36 +0000 |
Consider the following python source block,
#+begin_src python :results output : session :dir ./run
import os;
cwd = os.getcwd()
print(cwd)
#+end_src
The dir header arg should change the directory used to run the session,
in this case to the directory "../base/run", where "base" is the parent
directory the file visited by the current buffer. Instead, I get
"../base". Is this a bug?
Thank you
Joao Cortes