emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-babel opens the error output of a block in a separate window... unless :stdin is given, but how are they connected?
@ 2020-02-25  1:36 Vladimir Nikishkin
  2020-09-07  4:32 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Vladimir Nikishkin @ 2020-02-25  1:36 UTC (permalink / raw)
  To: emacs-orgmode

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 <<empty>> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-09-10  8:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-25  1:36 org-babel opens the error output of a block in a separate window... unless :stdin is given, but how are they connected? Vladimir Nikishkin
2020-09-07  4:32 ` Bastien
2020-09-10  8:54   ` Vladimir Nikishkin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).