emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BABEL] Redirect stderr to stdout?


From: Viktor Rosenfeld
Subject: Re: [O] [BABEL] Redirect stderr to stdout?
Date: Sat, 3 Mar 2012 16:52:29 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Eric,

Eric Schulte wrote:

> Viktor Rosenfeld <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]