From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=DATE_IN_PAST_03_06 autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 15062 invoked from network); 1 Jun 2021 02:37:21 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 1 Jun 2021 02:37:21 -0000 Received: from 5ess.inri.net ([107.191.111.177]) by 1ess; Mon May 31 18:50:01 -0400 2021 Received: from [127.0.0.1] ([104.59.85.219]) by 5ess; Mon May 31 18:11:00 -0400 2021 Date: Mon, 31 May 2021 18:10:58 -0400 From: Stanley Lieber To: 9front@9front.org In-Reply-To: References: <14875E53238A4C869B47B23B95272195@gmail.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: compliant compliant grid-based high-performance generator Subject: Re: [9front] Shared env in child scripts Reply-To: 9front@9front.org Precedence: bulk On May 31, 2021 2:23:46 PM EDT, binary cat wrote: >> I understand that it allows a child script to change env >> values for its parent, but is that desirable? > >It doesn't even do that well=2E >Environment variables are cached in rc, and this cache is never updated= =2E > >I think a good change would be that, by default, >rc performs `rfork(RFENVG);` at startup, then continues as it does now=2E >Then, there would be a flag that skips this rfork, and also disables cach= ing >of environment variables=2E > why