#+TITLE: Babel doesn't return output if one command fails #+DATE: 2010-12-01 #+LANGUAGE: en_US
* Abstract When just one command fails in Babel, then there is no shell output at all. * One command fails For example, the last command (=datee=) is not found: #+begin_src sh :var file=(buffer-file-name) :results output :exports both echo $(basename $file) datee #+end_src #+results: Result set is empty, while the =echo= command did work, and did produce output. * All commands are successful Only if all commands are successful, I see all results: #+begin_src sh :var file=(buffer-file-name) :results output :exports both echo $(basename $file) date #+end_src #+results: #+begin_example ecm-babel-one-error-no-results.txt Wed, Dec 01, 2010 10:21:09 AM #+end_example Best regards, Seb -- Sébastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode