diff options
-rw-r--r-- | test/supervise.subr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/supervise.subr b/test/supervise.subr index 2388b17..d2b0395 100644 --- a/test/supervise.subr +++ b/test/supervise.subr @@ -17,11 +17,11 @@ catch_out_err_and_rc() outbase=$1 shift { - "$@" 2>&1 & + "$@" < ${STDIN_PATH:-/dev/stdin} > ${STDOUT_PATH:-/dev/stdout} & echo $! > ${outbase}.pid wait $(cat ${outbase}.pid) echo $? > ${outbase}.rc - } | tee ${outbase}.out + } 2>&1 | tee ${outbase}.out } #catch_out_err_and_rc xxlsxx ls smiles & |