When I execute a long running script within the org mode, emacs freezes. Is there a way to see the (running) output of the script? Alternatively, is there a way to run script asynchronously, and then get the output back into the org buffer?
I run my shell scripts the following way:
#+BEGIN_SRC shell ls #+END_SRC
Edit: May be there is a way to run the command in a separate buffer, to observe output, and the put truncated output back to the main buffer?