[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Redirecting stderr to stdout with babel/shell
From: |
John Kitchin |
Subject: |
Re: [O] Redirecting stderr to stdout with babel/shell |
Date: |
Sun, 04 Jan 2015 09:07:00 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (darwin) |
Check out this solution:
http://kitchingroup.cheme.cmu.edu/blog/2015/01/04/Redirecting-stderr-in-org-mode-shell-blocks/
I think it does what you want, and uses the idea below.
Samuel Wales <address@hidden> writes:
> hi karl,
>
> i always wrap as follows and it works for me.
>
> {
> your code
> } 2>&1
> :
>
> the : eliminates fancy error handling. i find that much less confusing.
>
>
> samuel
--
-----------------------------------
John Kitchin
Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu
- [O] Redirecting stderr to stdout with babel/shell, Karl Voit, 2015/01/01
- Re: [O] Redirecting stderr to stdout with babel/shell, Michael Brand, 2015/01/01
- Re: [O] Redirecting stderr to stdout with babel/shell, Samuel Wales, 2015/01/02
- Re: [O] Redirecting stderr to stdout with babel/shell,
John Kitchin <=
- Re: [O] Redirecting stderr to stdout with babel/shell, Karl Voit, 2015/01/11
- Re: [O] Redirecting stderr to stdout with babel/shell, John Kitchin, 2015/01/11
- Re: [O] Redirecting stderr to stdout with babel/shell, Karl Voit, 2015/01/11
- Re: [O] Redirecting stderr to stdout with babel/shell, Achim Gratz, 2015/01/11
- Re: [O] Redirecting stderr to stdout with babel/shell, Karl Voit, 2015/01/21
Re: [O] Redirecting stderr to stdout with babel/shell, Achim Gratz, 2015/01/11