|
child proc.
all child processes are created in two steps:
1. system creates the exact copy of parent process (by fork)
2. the code of the parent process is substituted within a code of the child process.
as a consequence the child process inherits all the environment of the parent process (all the system variables , viewable with "env" command). This scheme is universal for all versions of unix/linux.
Get "UNIX Essentials and UNIX Core" DVD course if you have questions like that.
|