From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: diff in `src' blocks Date: Tue, 14 May 2013 11:07:47 +0200 Message-ID: References: <877gj3pc5v.fsf@kerstf.org> <8738tqlq09.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcBD6-0002tT-2I for emacs-orgmode@gnu.org; Tue, 14 May 2013 05:07:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UcBD3-0007G0-Qo for emacs-orgmode@gnu.org; Tue, 14 May 2013 05:07:51 -0400 Received: from mail-la0-x230.google.com ([2a00:1450:4010:c03::230]:56317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UcBD3-0007Fk-JZ for emacs-orgmode@gnu.org; Tue, 14 May 2013 05:07:49 -0400 Received: by mail-la0-f48.google.com with SMTP id fs12so272572lab.21 for ; Tue, 14 May 2013 02:07:48 -0700 (PDT) In-Reply-To: <8738tqlq09.fsf@Rainer.invalid> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Hi all On Mon, May 13, 2013 at 7:59 PM, Achim Gratz wrote: > All things considered, there may be room for an argument that Babel > shouldn't ignore the data from STDOUT on non-zero exit [...] Yes please, and a report of the actual exit status in the babel result would be nice, probably as an option in the source block header. In addition babel should also not ignore stderr on exit status 0, see my example 2) with GNU/Linux's strace in a lengthy post about my thoughts and workarounds for stdout, stderr and exit status with babel. It contains a complete set of the different cases as I see them: http://thread.gmane.org/gmane.emacs.orgmode/45828/focus=45881 Michael