[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash spews bracketed-paste escape sequences when handling signal.
From: |
Chet Ramey |
Subject: |
Re: Bash spews bracketed-paste escape sequences when handling signal. |
Date: |
Thu, 19 Dec 2024 10:58:26 -0500 |
User-agent: |
Mozilla Thunderbird |
On 12/18/24 4:56 PM, Kaz Kylheku wrote:
(That would be an issue if we had used eval:
eval 'command ... $$ ...' &
now we backgrounded the eval, which then in the background
process parses the shell syntax and does all the expanding.
Now $$ is the PID of the background process, not that of
the shell which launched it.)
No, that's not sufficient to reset $$. This is why $BASHPID exists.
--
``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/
OpenPGP_signature.asc
Description: OpenPGP digital signature
- Re: Bash spews bracketed-paste escape sequences when handling signal., (continued)
- Re: Bash spews bracketed-paste escape sequences when handling signal., Chet Ramey, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., Kaz Kylheku, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., microsuxxor, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., Kaz Kylheku, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., microsuxxor, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., Chet Ramey, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., Kaz Kylheku, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., microsuxxor, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., Kaz Kylheku, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., microsuxxor, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal.,
Chet Ramey <=
- Re: Bash spews bracketed-paste escape sequences when handling signal., Robert Elz, 2024/12/18
- Re: Bash spews bracketed-paste escape sequences when handling signal., Chet Ramey, 2024/12/19