# How to run julia code in an async way with emacs orgmode?

**URL:** <https://discourse.julialang.org/t/how-to-run-julia-code-in-an-async-way-with-emacs-orgmode/91343>\
**Category:** Tooling\
**Tags:** question, ide, emacs\
**Created:** [December 7, 2022, 3:27am UTC](https://discourse.julialang.org/t/how-to-run-julia-code-in-an-async-way-with-emacs-orgmode/91343 "2022-12-07T03:27:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiZ](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tiz/32/211800_2.png) [@tiZ](https://discourse.julialang.org/u/tiZ)\
**Post date:** [December 7, 2022, 3:27am UTC](https://discourse.julialang.org/t/how-to-run-julia-code-in-an-async-way-with-emacs-orgmode/91343/1 "2022-12-07T03:27:23Z")

</div>

Hi, I wonder if there a better way to run julia session in org-mode provide in emacs.

Currently, I can run julia code in org mode by sending it to ESS, but emacs will be not responsive after julia code completion. By contrast, python session has asynchronous mode, with args `:async`, but Julia session doesn’t seem to support it.

I just tried to run julia on emacs, and I don’t know if there is a better solution to this problem.

related topics:

> [@Julia within org-mode: what about a new ob-julia?](https://discourse.julialang.org/t/julia-within-org-mode-what-about-a-new-ob-julia/46308):
>
> Hi, I’m very new to Julia (and just beginning to learn this language). I’m currently mostly an R user, which I use within Emacs using ESS and org-mode. ESS has pretty good support for Julia, but I still have found no satisfying way to use Julia within org-mode. I read [this thread about emacs-jupyter](https://discourse.julialang.org/t/using-emacs-jupyter-mode-for-development/45276), but I simply did not manage to make it work for now. Furthermore, I would be more enthusiastic for a simple and lightweight elisp solution, as advocated in [this (old) thread](https://discourse.julialang.org/t/straw-poll-for-emacs-org-mode-workflow/10369/22). (This would be closer…

here is a demo on how to run julia on org babel.  
[https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-julia.html](https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-julia.html)

and this is a blog one year age, which show that org9. have support Async Babel sessions.  
[May 2021](https://blog.tecosaur.com/tmio/2021-05-31-async.html)
