Check out this solution: http://kitchingroup.cheme.cmu.edu/blog/2015/01/04/Redirecting-stderr-in-org-mode-shell-blocks/
I think it does what you want, and uses the idea below. Samuel Wales <samolog...@gmail.com> writes: > hi karl, > > i always wrap as follows and it works for me. > > { > your code > } 2>&1 > : > > the : eliminates fancy error handling. i find that much less confusing. > > > samuel -- ----------------------------------- John Kitchin Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu