-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I had issues when using bash 4.4.20 (Alma Linux 8) that the STDOUT / STDIO redirections did not work.
The syntax used "exec 1> >(tee -a $OSHT_STDOUT)" seems odd and undocumented, which might be why it's not working.
I experimentally changed it to a much simpler "exec >>$OSHT_STDOUT; exec 2>>$OSHT_STDERR" which works fine, but only captures STDOUT and STDERR rather than also capturing STDIO.
I could add "cat $OSHT_STDOUT $OSHT_STDERR >$OSHT_STDIO" at the end of _osht_run() to get the STDIO back, but the order of the text would be changed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels