Signal Handling in Pipelines and Subshells
Signal Handling in Pipelines and Subshells
Traps defined in parent scripts are reset to default behavior inside subshells and asynchronous background commands unless explicitly re-declared or exported.
October 31, 2026
Traps defined in parent scripts are reset to default behavior inside subshells and asynchronous background commands unless explicitly re-declared or exported.