[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: |
Mon, 18 Feb 2019 12:55:03 -0500 |
On Sun, Feb 17, 2019 at 8:23 PM Chet Ramey <chet.ramey@case.edu> wrote:
> Thanks for the report. I'll fix it in the next devel branch push.
One more corner case, only shows up when bash is started by `login`:
$ set +m; exec /
-bash: /: Is a directory
-bash: exec: /: cannot execute: Is a directory
$ echo "$(ps -o pid,tpgid -p $$)"
PID TPGID
57430 57429 # 57429 is the login process
$ set -m; $(:)
-bash: child setpgid (57437 to 57430): Operation not permitted