Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

EXIT traps that print to stdout shouldn't break process substitution #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions fast/trap_subshell_comment_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source "$rvm_path/scripts/rvm"

eval 'shell_session_update() { echo hi'$'\n''}' # status=0
typeset -f shell_session_update # status=0

echo $(cd . > /dev/null && echo a) # status=0; match=/^a$/