[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why does </proc/self/environ not work in bash?
From: |
Lawrence Velázquez |
Subject: |
Re: why does </proc/self/environ not work in bash? |
Date: |
Mon, 12 Feb 2024 16:22:38 -0500 |
User-agent: |
Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 |
On Mon, Feb 12, 2024, at 3:56 PM, Christoph Anton Mitterer wrote:
> On Mon, 2024-02-12 at 10:06 +0900, Koichi Murase wrote:
>> I quickly checked XCU 2.9.1, but it doesn't seem to specify when the
>> fork (or in other words, the preparation of a separate execution
>> environment) should be performed.
>
> Well it says:
> "3. Redirections shall be performed as described in Redirection"
>
> Which is surrounded by stuff that still has to be done by the shell.
Done by *a* shell. AFAICT the standard does not say *which* shell
-- the original or a child forked in preparation of executing the
utility.
It seems to me that you are reading your preferences into the
standard, which in reality leaves this matter unspecified.
--
vq
Re: why does </proc/self/environ not work in bash?, Lawrence Velázquez, 2024/02/11
Re: why does </proc/self/environ not work in bash?, Kerin Millar, 2024/02/11
Re: why does </proc/self/environ not work in bash?, Christoph Anton Mitterer, 2024/02/11
Re: why does </proc/self/environ not work in bash?, Christoph Anton Mitterer, 2024/02/11