From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: [Proposal] Source Blocks with Post-Extensions Date: Fri, 26 Jul 2019 11:18:06 -0400 Message-ID: <877e8425ap.fsf@gmail.com> References: <87a7d10zss.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:32855) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hr1z0-000760-O2 for emacs-orgmode@gnu.org; Fri, 26 Jul 2019 11:18:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hr1yz-0003Vg-N1 for emacs-orgmode@gnu.org; Fri, 26 Jul 2019 11:18:10 -0400 Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]:40307) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hr1yz-0003U6-DO for emacs-orgmode@gnu.org; Fri, 26 Jul 2019 11:18:09 -0400 Received: by mail-qt1-x82d.google.com with SMTP id a15so52903854qtn.7 for ; Fri, 26 Jul 2019 08:18:09 -0700 (PDT) In-reply-to: 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" To: Martin Alsinet Cc: Dmitrii Korobeinikov , emacs-orgmode , "Berry, Charles" On 2019-07-26 at 08:58 -04, Martin Alsinet wrote... > I usually have a shell buffer nearby and go there to inspect the > failed tests when I get no output. The problem is that shell blocks do > not capture stderr. John Kitchin wrote a blog post > > about this problem and provided a solution that may work for you, but > I have not tried it yet. Ah yes... from my own comments there: #+begin_src sh :results raw drawer :prologue "exec 2>&1" :epilogue ":" python -m pytest ./utils #+end_src Thanks for reminding me about my past self. -k.