From: Viktor Rosenfeld <listuser36@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [BABEL] Redirect stderr to stdout?
Date: Sat, 3 Mar 2012 16:52:29 +0100 [thread overview]
Message-ID: <20120303155229.GA38999@kenny.fritz.box> (raw)
In-Reply-To: <87booelpew.fsf@gmx.com>
Hi Eric,
Eric Schulte wrote:
> Viktor Rosenfeld <listuser36@googlemail.com> writes:
>
> > Hi Eric,
> >
> > Eric Schulte wrote:
> >
> >> Currently the only action Babel takes with STDERR is to display it in a
> >> pop-up buffer when code block evaluation fails.
> >
> > On my system (OS X) the buffer does not popup. I just tried
> >
> > #+BEGIN_SRC sh
> > echo foo 1>&2
> > #+END_SRC
> >
>
> That is because the evaluation did not fail, try
>
> #+BEGIN_SRC sh
> echo foo 1>&2
> exit 1
> #+END_SRC
Thanks, that did the trick. It also explains why some error output from
psql and the like does not make it into the buffer.
> [Snip]
>
> As always demand outstrips development resources.
And still, org-mode is great product!
Cheers,
Viktor
prev parent reply other threads:[~2012-03-03 15:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-02 11:29 [BABEL] Redirect stderr to stdout? Viktor Rosenfeld
2012-03-02 16:21 ` Eric Schulte
2012-03-02 19:47 ` Viktor Rosenfeld
2012-03-02 20:23 ` Eric Schulte
2012-03-03 15:52 ` Viktor Rosenfeld [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120303155229.GA38999@kenny.fritz.box \
--to=listuser36@googlemail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).