[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: possible bash bug bringing job. to foreground
From: |
John Larew |
Subject: |
Re: possible bash bug bringing job. to foreground |
Date: |
Sat, 17 Feb 2024 19:41:43 +0000 (UTC) |
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.
I suspected there are advantages to exiting the emulator vs. killing the
process.
Clearly, I misunderstood. Thanks again.