bug-bash
[Top][All Lists]
Advanced

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

Re: Strange bash behavior


From: Clark Wang
Subject: Re: Strange bash behavior
Date: Fri, 2 Dec 2016 18:01:09 +0800

On Fri, Dec 2, 2016 at 6:34 PM, Vladimir Marek <address@hidden> 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.

reply via email to

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