Timeline for How do you continue execution after using trap EXIT in bash?
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 10, 2024 at 8:44 | comment | added | milahu | ideally we would have try/catch in bash: try exit 1; catch echo got error $?; done; echo continuing the main script. currently, we can emulate this with subshells, see also Is there a TRY CATCH command in Bash. but currently, there is no native try/catch in bash. there is try/catch in powershell | |
| Jan 15, 2024 at 10:51 | answer | added | milahu | timeline score: 0 | |
| Feb 18, 2022 at 4:27 | vote | accept | Yzmir Ramirez | ||
| Feb 16, 2022 at 15:08 | history | edited | Yzmir Ramirez | CC BY-SA 4.0 | Added an edit to state that the foo() function should not be changed. |
| Feb 16, 2022 at 7:35 | answer | added | sakkke | timeline score: 3 | |
| Feb 16, 2022 at 5:38 | answer | added | sakkke | timeline score: 1 | |
| S Feb 16, 2022 at 2:48 | review | First questions | |||
| Feb 16, 2022 at 7:35 | |||||
| S Feb 16, 2022 at 2:48 | history | asked | Yzmir Ramirez | CC BY-SA 4.0 |