Bug: Subshell won't continue after .-sourcing a file

2022-12-21 Thread Dan Church
' >"$sub1" echo 'echo "2nd script starting" && ${THIS_SH} '"$sub3" >"$sub2" echo 'echo "3rd script starting"' >"$sub3" . "$sub1" "1st script still executing" will nev

Re: Bug: Subshell won't continue after .-sourcing a file

2022-12-22 Thread Dan Church
. "$sub1" Turns out the best time to find bugs in your code is when demoing it for someone else. :-) On 12/22/22 11:18 AM, Chet Ramey wrote: On 12/21/22 11:44 PM, Oğuz wrote: 22 Aralık 2022 Perşembe tarihinde Dan Church yazdı: Repro:     sub1=$(mktemp)     sub2=$(mktemp)     su