On Fri, Dec 2, 2016 at 6:34 PM, Vladimir Marek <vladimir.ma...@oracle.com> wrote:
> Nice analysis, does the second example look similar? > > bash -c 'bash -i 1; read -t 2 a < /dev/tty' > I think it's the same problem. After "bash -i" exited, "bash -c" is not the controlling process any more so it cannot read from the tty.