[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-babel opens the error output of a block in a separate window...
From: |
Bastien |
Subject: |
Re: org-babel opens the error output of a block in a separate window... unless :stdin is given, but how are they connected? |
Date: |
Mon, 07 Sep 2020 06:32:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hi Vladimir,
Vladimir Nikishkin <lockywolf@gmail.com> writes:
> #+name: empty
> #+begin_quote
>
> 1
> #+end_quote
>
> #+begin_src shell :shebang "#! /usr/bin/chibi-scheme :stdin empty
> (/ 1 0)
> #+end_src
The example above does not work for me. Can you provide another one?
> 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?
I don't know but perhaps you can instrument the relevant functions in
ob-shell.el and see what going on, if you still have this issue?
Thanks,
--
Bastien
- Re: org-babel opens the error output of a block in a separate window... unless :stdin is given, but how are they connected?,
Bastien <=