From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: Redirecting stderr to stdout with babel/shell Date: Thu, 1 Jan 2015 18:10:38 +0100 Message-ID: References: <2015-01-01T17-23-41@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6jGj-0002cZ-3c for emacs-orgmode@gnu.org; Thu, 01 Jan 2015 12:10:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y6jGh-0003Id-Sb for emacs-orgmode@gnu.org; Thu, 01 Jan 2015 12:10:41 -0500 Received: from mail-qa0-x22c.google.com ([2607:f8b0:400d:c00::22c]:45717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6jGh-0003IL-KB for emacs-orgmode@gnu.org; Thu, 01 Jan 2015 12:10:39 -0500 Received: by mail-qa0-f44.google.com with SMTP id bm13so11964023qab.17 for ; Thu, 01 Jan 2015 09:10:39 -0800 (PST) In-Reply-To: <2015-01-01T17-23-41@devnull.Karl-Voit.at> 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: Karl Voit Cc: Org Mode Hi Karl On Thu, Jan 1, 2015 at 5:27 PM, Karl Voit wrote: > Is there a similar method to re-direct the stderr of a shell script > to stdout as well? Not that I know of an other way than what you already demonstrated. Once I wrote a lengthy post with my opinion about stdout, stderr and the exit status in babel/shell. It contains a complete set of the different cases as I see them: http://thread.gmane.org/gmane.emacs.orgmode/45828/focus=46415 Michael