News for hackers. Stuff that matters.
Re:Unix Recovery Legend (1986) by Someone1234 on Wednesday September 02, 2015 @03:40PM (#10161464)
Those examples are trying to change the directory on the shell's child process, not on the shell itself.

That being said, aside from a kernel patch there is definitely no official way of doing it. This is the hacky way:

http://stackoverflow.com/questions/2375003/how-do-i-set-the-...

Re:Unix Recovery Legend (1986) by schoen on Wednesday September 02, 2015 @05:31PM (#10162012)
I meant for my examples just to illustrate that a child process can't change the working directory or environment of the parent process.