Joao Cortes <[email protected]> writes:
> 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?
It works fine in my machine. It print absolute path to "/run".
>
> Thank you
> Joao Cortes
--
[ stardiviner ]
I try to make every word tell the meaning what I want to express.
Blog: https://stardiviner.github.io/
IRC(freenode): stardiviner, Matrix: stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3