Revision 13221
Added by Aaron Marcuse-Kubitza almost 11 years ago
trunk/lib/sh/util.sh | ||
---|---|---|
1068 | 1068 |
# command causes log_fd to be re-filtered, so that stderr is also filtered. |
1069 | 1069 |
# fd 2 is *not* redirected back to fd 2, to allow log-filtering out an |
1070 | 1070 |
# otherwise-confusing benign error. |
1071 |
"$@" 2> >(log++ command tee /dev/fd/"$log_fd") >&41 #redirects 2->{1,log_fd} |
|
1071 |
piped_cmd "$@" 2> >(log++ command tee /dev/fd/"$log_fd") >&41 |
|
1072 |
# redirects 2->{1,log_fd} |
|
1072 | 1073 |
} |
1073 | 1074 |
|
1074 | 1075 |
stdout_contains() |
Also available in: Unified diff
bugfix: lib/sh/util.sh: stderr2stdout(): use piped_cmd to ignore SIGPIPE since the output of this will piped to another command