On 2013-07-30 10:18, Greg Wooledge wrote: > After the fork() which creates the subshell, each of the two processes > (parent and child) is still within its own instance of the function. > The "return" command executed in the child causes the child's function > to terminate, but this does not cause the parent's function to terminate.
I think we all understand the technical reasons *why* this occurs, that has seemed clear since the beginning. My concern is that I think it is semantically wrong to act as if we are still in a function when in a child, and accept a return statement there.
pgpcFb9TogTdW.pgp
Description: PGP signature