PREV INDEX NEXT

Author: Unknown
Subject: wait builtin
Date: Saturday, 28 Nov 2020, 13:33:40

For wait, it says "Wait until all child processes of the shell process have died.  The status is 0." Is this only for the root shell (i.e. the root bashLT shell), or also for any subshell that is created within execution of the program? If its the first, how do we differentiate between subshells and the main bashLT shell?
PREV INDEX NEXT