[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: possible bash bug bringing job. to foreground
From: |
alex xmb sw ratchev |
Subject: |
Re: possible bash bug bringing job. to foreground |
Date: |
Mon, 19 Feb 2024 11:30:38 +0100 |
On Sat, Feb 17, 2024, 20:54 Greg Wooledge <greg@wooledge.org> wrote:
> On Sat, Feb 17, 2024 at 07:41:43PM +0000, John Larew wrote:
> > After further examination, the examples with "fg $$" and "fg $!" clearly
> do not bring the subshell into the foreground, as they are evaluated prior
> to the subshells background execution.
> > I'm trying to bring the subshell to the foreground to perform an exit,
> after a delay.
> > Ultimately, it will be used as part of a terminal emulator inactivity
> timeout.
>
> Bash already has a TMOUT variable which will cause an interactive shell
> to exit after a specified length of inactivity. Is that sufficient?
> If not, how does your desired solution need to differ from TMOUT?
>
i never heard of TMOUT before , too
>