ob-async icon indicating copy to clipboard operation
ob-async copied to clipboard

Org babel exports results

Open ludwigkr opened this issue 4 years ago • 1 comments

Org-export-dispatch is not exporting the result of ob-async but this intermediate random number.

For example:

#+begin_src sh :results output replace :exports results :async
sleep 2s && echo "Hello World"
#+end_src

exports (as text output):

┌────
│ f26e93dae63d719bede4c9dd9b951858
└────

It should export :wink: :

┌────
│ Hello World
└────

ludwigkr avatar Dec 10 '21 11:12 ludwigkr

Tip: org babel reevaluates blocks on export, by default. You can disable this with the :eval no-export header on a code block. This works regardless of whether the block is :async.

https://superuser.com/a/1220466/442895

hraban avatar Mar 11 '22 20:03 hraban