emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Python source block and :dir header arg
@ 2019-04-01 17:06 Joao Cortes
  2019-04-01 18:12 ` John Kitchin
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Joao Cortes @ 2019-04-01 17:06 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-04-05 14:43 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-01 17:06 Python source block and :dir header arg Joao Cortes
2019-04-01 18:12 ` John Kitchin
2019-04-01 18:23   ` Joao Cortes
2019-04-01 18:16 ` Joao Cortes
2019-04-02 15:59   ` John Kitchin
2019-04-03 17:31     ` Joao Cortes
2019-04-05 14:34       ` John Kitchin
2019-04-05  3:07 ` stardiviner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).