From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: [Babel] No output returned if just one command is failing Date: Wed, 01 Dec 2010 10:25:48 +0100 Message-ID: <80eia1ondv.fsf@missioncriticalit.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org #+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 (=3Ddatee=3D) is not found: #+begin_src sh :var file=3D(buffer-file-name) :results output :exports both echo $(basename $file) datee #+end_src #+results: Result set is empty, while the =3Decho=3D 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=3D(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 --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode