Re: $PPID behave differently in 5.1 and 4.3

2021-05-17 Thread leodream
Thank you very much, will keep that in mind. -- Sent from: http://gnu-bash.2382.n7.nabble.com/

$PPID behave differently in 5.1 and 4.3

2021-05-16 Thread leodream
I created 2 scripts like below Running the test1.sh with bash 5.1 will have different PPID printed by the last test2.sh call when it is executed in sub-shell. For bash 4.3, the script will output consistent PPID.