[Top][All Lists]

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

Re: Strange bash behavior

From: Vladimir Marek
Subject: Re: Strange bash behavior
Date: Fri, 2 Dec 2016 10:54:47 +0000
User-agent: Mutt/ (2013-10-16)

> > 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.

Ah, I see. Thanks!

reply via email to

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