bug-bash
[Top][All Lists]
Advanced

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

Re: DEBUG trap in a background shell steals controlling terminal forcing


From: Chet Ramey
Subject: Re: DEBUG trap in a background shell steals controlling terminal forcing parent shell to exit
Date: Wed, 26 Jun 2024 09:24:15 -0400
User-agent: Mozilla Thunderbird

On 6/25/24 2:49 PM, Mark March wrote:
  Bump in case this fell through the cracks. My simple script that uses no job 
control facilities (in fact, turns job control off) if run in the background 
would log the user out on any keyboard input. This can't be right. Can you at 
least confirm that this is indeed a bug in Bash? Are there any work-arounds 
other than not using the DEBUG trap or leaving job control on?

I haven't looked at this yet.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/




reply via email to

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