We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05835b8 commit eef6e73Copy full SHA for eef6e73
tests/rt_utils.sh
@@ -15,7 +15,7 @@ ECFLOW_RUNNING=false
15
jobid=0
16
17
redirect_out_err() {
18
- ( "$@" 2>&1 1>&3 3>&- | tee err ) 3>&1 1>&2 | tee out
+ ( set -e -o pipefail ; ( "$@" 2>&1 1>&3 3>&- | tee err ) 3>&1 1>&2 | tee out )
19
# The above shell redirection copies stdout to "out" and stderr to "err"
20
# while still sending them to stdout and stderr. It does this without
21
# relying on bash-specific extensions or non-standard OS features.
0 commit comments