[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'wait' in command group in pipeline fails to recognize child process
From: |
Chet Ramey |
Subject: |
Re: 'wait' in command group in pipeline fails to recognize child process |
Date: |
Thu, 24 Jun 2021 10:42:08 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 6/23/21 6:17 PM, Martin Jambon wrote:
On 6/23/21 6:24 AM, Chet Ramey wrote:
On 6/22/21 9:54 PM, Martin Jambon wrote:
In the posix definition, a subshell
- is not necessarily implemented as a separate process
- belongs to a unique shell
- is not a shell
Why is it not "a shell?"
Because '$$' doesn't match its process ID.
OK. That's a rather unique definition, but it's a definition.
I'm not sure why I have to fight over this. It's clearly my
misunderstanding. That's why I suggest clarifications in the documentation,
if you're interested in creating a better experience for users like me.
I don't think we're fighting here. We're discussing whether or not we need
to invent new nomenclature to clarify an obscure point, or whether a
clearer explanation of the concept of a subshell will suffice.
--
``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/
- Re: 'wait' in command group in pipeline fails to recognize child process, (continued)
- Re: 'wait' in command group in pipeline fails to recognize child process, Greg Wooledge, 2021/06/22
- Re: 'wait' in command group in pipeline fails to recognize child process, Martin Jambon, 2021/06/22
- Re: 'wait' in command group in pipeline fails to recognize child process, Lawrence Velázquez, 2021/06/22
- Re: 'wait' in command group in pipeline fails to recognize child process, Martin Jambon, 2021/06/22
- Re: 'wait' in command group in pipeline fails to recognize child process, Lawrence Velázquez, 2021/06/22
- Re: 'wait' in command group in pipeline fails to recognize child process, Martin Jambon, 2021/06/22
- Re: 'wait' in command group in pipeline fails to recognize child process, Greg Wooledge, 2021/06/22
- Re: 'wait' in command group in pipeline fails to recognize child process, Chet Ramey, 2021/06/23
- Re: 'wait' in command group in pipeline fails to recognize child process, Martin Jambon, 2021/06/23
- Re: 'wait' in command group in pipeline fails to recognize child process, Greg Wooledge, 2021/06/23
- Re: 'wait' in command group in pipeline fails to recognize child process,
Chet Ramey <=
- Re: 'wait' in command group in pipeline fails to recognize child process, Chet Ramey, 2021/06/23
Re: 'wait' in command group in pipeline fails to recognize child process, Chet Ramey, 2021/06/22