Re: leaks fd for internal functions but not external command
From:
Chet Ramey
Subject:
Re: leaks fd for internal functions but not external command
Date:
Tue, 23 Jul 2019 11:13:24 -0400
User-agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
On 7/23/19 11:11 AM, Sam Liddicott wrote:
> The report concerns the different behaviour with internal and external
> operations.
Right. The close-on-exec is deliberate. That's how it was intended.
--
``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/