0

Upon running shell command from the org source code:

#+BEGIN_SRC shell
rsync -av ~/Documents \
    --include=~/Public  /media/me/disk/
#+END_SRC

it stopped and waiting, cannot do nothing else.

How could run the source code asynchronously?

  • Please do some research before asking. – Hubisan Jul 23 at 10:20
1

Package ob-async lets you execute source blocks asynchronously.

Install and enable the package. Then add :async to the header args:

#+BEGIN_SRC shell :async
rsync -av ~/Documents \
    --include=~/Public  /media/me/disk/
#+END_SRC

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.