-
-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[spec/builtin-trap-bash] Make note of pipeline inconsistency
In bash, the first part gets a DEBUG trap: echo hi | cat But here it doesn't: { echo 1; echo 2; } | cat I believe both cases must fork a shell interpreter, so they should be consistent, as they are in OSH. I tested with: $ strace -ff -e fork,execve -- bash -c 'echo hi | cat' and both cases do fork a subinterpreter.
- Loading branch information
Andy C
committed
Mar 8, 2024
1 parent
7cd2f9e
commit 153f02d
Showing
2 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters