changing cwd after process exec
Juergen Wagner
gandalf at csli.STANFORD.EDU
Fri Apr 29 08:35:13 AEST 1988
The only solution to this would be passing some value back to the parent
(who should expect this). In general, there is no way to modify the parent's
environment. I suggest to use either a return value (caught after wait'ing
for the child's death), or a pipe (possibly named in the UNIX domain), or
if a special monitorable action causes the cd inside the child, let the
parent monitor these actions, too, and react in the same way.
--
Juergen "Gandalf" Wagner, gandalf at csli.stanford.edu
Center for the Study of Language and Information (CSLI), Stanford CA
More information about the Comp.unix.questions
mailing list