help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why are pipeline commands (allowed to be) executed in subshells?


From: Chet Ramey
Subject: Re: why are pipeline commands (allowed to be) executed in subshells?
Date: Sat, 26 Nov 2022 12:48:11 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.5.0

On 11/25/22 1:37 PM, Philippe Cerfon wrote:
On Fri, Nov 25, 2022 at 7:23 PM Davide Brini <dave_br@gmx.com> wrote:
** Additionally, each command of a multi-command pipeline is in a subshell
environment; as an extension, however, any or all commands in a pipeline
may be executed in the current environment.

Ah, there it is. Thanks a lot.

It's necessary for job control.


--
``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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]