[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: why are pipeline commands (allowed to be) executed in subshells?
From: |
Philippe Cerfon |
Subject: |
Re: why are pipeline commands (allowed to be) executed in subshells? |
Date: |
Wed, 21 Dec 2022 23:46:57 +0100 |
Hey Chet.
On Wed, Dec 21, 2022 at 4:20 PM Chet Ramey <chet.ramey@case.edu> wrote:
> When the shell is running a loop and a child process dies due to SIGINT,
> the shell pretends it got the SIGINT to break the loop. This reduces user
> surprise and frustration.
Ah, and I guess it learns about the process being killed by an INT via the CHLD.
Is this somewhere documented? Because I've had read in the "Signals"
section of the manpage and from there I wouldn't have deduced this.
Thanks,
P.
- Re: why are pipeline commands (allowed to be) executed in subshells?, (continued)
- Re: why are pipeline commands (allowed to be) executed in subshells?, Greg Wooledge, 2022/12/12
- Re: why are pipeline commands (allowed to be) executed in subshells?, Philippe Cerfon, 2022/12/13
- Re: why are pipeline commands (allowed to be) executed in subshells?, Greg Wooledge, 2022/12/13
- Re: why are pipeline commands (allowed to be) executed in subshells?, Philippe Cerfon, 2022/12/13
- Re: why are pipeline commands (allowed to be) executed in subshells?, Greg Wooledge, 2022/12/13
- Re: why are pipeline commands (allowed to be) executed in subshells?, Philippe Cerfon, 2022/12/13
- Re: why are pipeline commands (allowed to be) executed in subshells?, Chet Ramey, 2022/12/13
- Re: why are pipeline commands (allowed to be) executed in subshells?, Philippe Cerfon, 2022/12/13
- Re: why are pipeline commands (allowed to be) executed in subshells?, Philippe Cerfon, 2022/12/20
- Re: why are pipeline commands (allowed to be) executed in subshells?, Chet Ramey, 2022/12/21
- Re: why are pipeline commands (allowed to be) executed in subshells?,
Philippe Cerfon <=
- Re: why are pipeline commands (allowed to be) executed in subshells?, Chet Ramey, 2022/12/22
Re: why are pipeline commands (allowed to be) executed in subshells?, Chet Ramey, 2022/12/13