nested bash 5 interactive sessions without job control
From:
Grisha Levit
Subject:
nested bash 5 interactive sessions without job control
Date:
Fri, 15 Feb 2019 21:43:32 -0500
When in an interactive shell with job control disabled, starting
another interactive shell, disabling job control, and then exiting,
causes the parent shell to exit after any key press.
bash-5.0$ set +m; $BASH --norc -i -c 'set +m'
bash-5.0$ [any key]
exit
This seems to work fine in bash 4.4 and below.