Re: Leaking file descriptors on fast SIGINT's in PROMPT_COMMAND, PS1

2019-04-13 Thread Al Payne
On Sat, Apr 13, 2019 at 03:19:17PM -0400, Chet Ramey wrote: > On 3/28/19 8:01 AM, Tycho Kirchner wrote: > > the *interactive* bash leaks (pipe-)file-descriptors when fast interrupts > > (SIGINT) occur. The bug occurs on all bash-versions tested (see below), > > including 5.0.2(1)-release. > > I do

Re: Using Source within Binary Shell Scripts

2019-03-27 Thread Al Payne
On Wed, Mar 27, 2019 at 09:09:37AM -0700, Eduardo Bustamante wrote: > On Wed, Mar 27, 2019 at 8:17 AM Jason Hall wrote: > (...) > > The point is, their is a legitimate use for sourcing Binary Shell > > Scripts (...) > > Is it really a legitimate use? If you're doing it for "security" (by > obscur

Re: Re[7]: Subshell exit trap is not invoked if shell exit trap also set

2019-03-26 Thread Al Payne
Konstantin, I also tried to replicate on CentOS (under Fusion), but get the two expected trap messages when killing the internal process: ext pid=25449 int pid=25450 int exit trap in 25450 subshell done ext exit trap in 25449 Test install: - CentOS Linux release 7.2.1511 (Cor