astahlman / ob-async

Asynchronous src_block execution for org-babel
343 stars 32 forks source link

Output of stderr #41

Closed GregorySchwartz closed 5 years ago

GregorySchwartz commented 6 years ago

Expected Behavior

With async enabled, output the error produced just like without async.

Actual Behavior

Empty results with no errors.

Steps to Reproduce

#+BEGIN_SRC sh :async
date -q
#+END_SRC

When run without async, produces error, with async, nothing produced.

astahlman commented 5 years ago

Just tried to reproduce on the latest commit from the master branch and I'm unable to. I'm pretty sure this was fixed in https://github.com/astahlman/ob-async/commit/fc0020e515fe156fdda7fbf47f12c4b00029d44b (I can reproduce in the parent of that commit).

Closing this one as fixed - feel free to reopen if you are still seeing this after updating to the latest version.

luveti commented 2 years ago

Sorry to dig up an old issue, but I believe I'm experiencing the same problem. Is the org babel error buffer called " *Org-Babel Error*" showing up for you guys? Looking at the org babel source code would lead me to believe this buffer gets created in the child process you spin up.

I'm unsure if this would work, but maybe grabbing the contents of that buffer and returning it as a second return value could be a work around?