On Tue, Oct 07, 2014 at 10:45:53AM -0700, Linda Walsh wrote: > I appreciate the options, but the option I want is the parent staying > "put", and only sending children out to change dir's. Say some new > version of init wants to isolate init processes by putting them in their > own dir and then deleting the dir. As long as they don't cd out of the > dir, they are fine, but if they do, they can't get back to it. > > Why can't I spawn a child that cd's into a dir and reports back what > it finds in the dir? I do this in perl or C w/no problem.
You are adding layers of non-negligible complexity to work around an imaginary problem.