|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re^3: zcat pipe gives "gzip: stdout: Broken pipe" errorby ikegami (Patriarch) |
| on Mar 26, 2025 at 16:59 UTC ( [id://11164450]=note: print w/replies, xml ) | Need Help?? |
|
Linux's https://man7.org/linux/man-pages/man2/execve.2.html says:
So a caught signal such as $SIG{ PIPE } = \&handler; gets reset to $SIG{ PIPE } = "DEFAULT";, but not $SIG{ PIPE } = "IGNORE";. Most if not all reset things are out of necessity. $SIG{ PIPE } = \&handler can't be kept since &handler will stop existing.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||