bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nested bash 5 interactive sessions without job control


From: Grisha Levit
Subject: Re: nested bash 5 interactive sessions without job control
Date: Fri, 15 Feb 2019 22:22:53 -0500

Looks like the controlling process group isn't being reset correctly
after the "inner" bash exits:

$ trap 'echo "$(ps -o pid,tpgid -p $$)"' EXIT
$ echo $$
54581
$ set +m
$ $BASH --norc -i -c 'set +m; echo $$'
54583
$
exit
  PID TPGID
54581 54583



reply via email to

[Prev in Thread] Current Thread [Next in Thread]