On Tue, Aug 26, 2025 at 10:56 AM Daniel Villeneuve <dvilleneuve.4...@gmail.com> wrote: > This looks like an incorrect optimisation in this case (i.e., exec'ing in > monitor mode when the shell itself is not alone in its own process group). > > This is with GNU bash, version 5.1.8(1)-release (x86_64-redhat-linux-gnu), > from RHEL 9.
This issue is fixed in bash 5.3.