The Computer Oracle

How do I get the output and exit value of a subshell when using "bash -e"?

Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Peaceful Mind

--

Chapters
00:00 Question
00:50 Accepted answer (Score 152)
02:02 Answer 2 (Score 49)
04:17 Answer 3 (Score 5)
04:45 Thank you

--

Full question
https://superuser.com/questions/363444/h...

Answer 1 links:
[manual of the set builtin]: https://www.gnu.org/software/bash/manual...
https://stackoverflow.com/a/4421282/5375...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#bash

#avk47