Welcome back. In this set of lessons,
I'll demonstrate how files and
sub-processes interact with one
another and you'll learn how to
create sub-processes in shell scripts.
Let's get started. Especially child processes
interacting with parent processes and vice versa.
Part of the issue here is
that when a child process starts,
it inherits its environment from the parent,
unless certain specific conditions are met.
So when you, a parent creates this child process,
it has to be sure that the environment
is set up the way that it wants.
Shell scripts can pose
other problems as well but we will talk about.