Open michaelsjackson opened 4 years ago
#+BEGIN_SRC bash :results raw
/home/mj/do_something.sh "michael"
#+END_SRC
Is there any time limit on such structures inside org-mode as this is working in bash, but not inside emacs? Which settings or parameters can have an influence on this?
I am not the author, but I dont see any specific timeouts in the code ( https://github.com/astahlman/ob-async/blob/master/ob-async.el )
I also checked the emacs org-babel in a recent emacs and did find timeouts. ob-async will allow these commands to finish in the background and I think ive had up to 5 minute tasks running in async.
I think that I've answered the question for OP.
I have bash examples, which work nicely from terminal, giving some text output, those were working in the past also nicely in org-mode as src blocks via org-babel.
But after a ubuntu update, with emacs and org-mode updates, both latest, now those bash commands do not work any more from inside org-mode, however from terminal they are working nicely.
Can ob-async help here? Or can the problem be any async issues? Normal org-bash src blocks are working, so if the bash command is something like "pwd", this works. But not my other shell script, which takes some more time, needs to collect data, process, finally showing me the text result after a jq conversion, and this .sh command is not working any more. Any useful tips and hints? Thanks in advance.