in reply to backticks fail to capture stderr even with explicit redirection
Can somebody suggest why backticks aren't able to capture stderr in our environment?That's because the shell does it that way.
Considering that it's rather easy to merge streams, and rather hard to separate merged streams, I'm rather glad that backticks don't merge STDOUT and STDERR.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: backticks fail to capture stderr even with explicit redirection
by keithhanlan (Initiate) on Jul 06, 2011 at 19:29 UTC | |
by JavaFan (Canon) on Jul 06, 2011 at 21:26 UTC |