From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Nikishkin Subject: org-babel opens the error output of a block in a separate window... unless :stdin is given, but how are they connected? Date: Tue, 25 Feb 2020 09:36:27 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60661) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6P9N-0005iB-Pt for emacs-orgmode@gnu.org; Mon, 24 Feb 2020 20:36:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6P9M-0002XK-Rr for emacs-orgmode@gnu.org; Mon, 24 Feb 2020 20:36:41 -0500 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:34626) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j6P9M-0002WQ-M6 for emacs-orgmode@gnu.org; Mon, 24 Feb 2020 20:36:40 -0500 Received: by mail-ed1-x531.google.com with SMTP id r18so14314688edl.1 for ; Mon, 24 Feb 2020 17:36:40 -0800 (PST) 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hello, everyone The MWE would be the following: #+name: empty #+begin_quote 1 #+end_quote #+begin_src shell :shebang "#! /usr/bin/chibi-scheme :stdin empty (/ 1 0) #+end_src Now the chibi-scheme shebang is just an example of an app writing things to stderr. The actual content of the <> doesn't matter, the app errs before ever having a chance to read anything from stdin. However, when :stdin is given (as in the MWE), the resulting error output is printed in the :RESULTS , and if not, it is displayed in a separate (a bit annoying) window called "*Org-Babel Error Output*. I would like to ask how these two things, stdin, and stderr are connected. Perhaps, this is a bug? -- Yours sincerely, Vladimir Nikishkin