[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [Babel] No output returned if just one command is failing
From: |
Sébastien Vauban |
Subject: |
[Orgmode] [Babel] No output returned if just one command is failing |
Date: |
Wed, 01 Dec 2010 10:25:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
#+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