"Lee de Byl" <10*0*8*[email protected]*u*e*t*u*a*e*u*a*> wrote:> Yes, I was referring to external processes, as well as the creation of subshells. Is my understanding correct that both of these > Involve forks (at least on Unix & Linux)?
Yes, usually external processes involve forking to get a new child process.
In some cases, the shell can determine if a subshell really needs a new process, and so there may not be a fork in all cases.
Returning Multiple Values: string manipulation vs global variables vs alternatives. (all 6)