Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bash src blocks with :results raw not working any more #62

Open
michaelsjackson opened this issue May 23, 2020 · 2 comments
Open

bash src blocks with :results raw not working any more #62

michaelsjackson opened this issue May 23, 2020 · 2 comments

Comments

@michaelsjackson
Copy link

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.

@michaelsjackson
Copy link
Author

#+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?

@wmealing
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants