Neat trick to capture STDERR into a text file for the next command but also exit with the preserved exit code after then.
| |
Run a bash command and capture the error in a text file as well as store the exit code
Neat trick to capture STDERR into a text file for the next command but also exit with the preserved exit code after then.
| |