Re:How does `cd` work?
by gowld on Thursday March 01, 2018 @02:47PM
(#16495480)
For the same reason you can't invoke a method to change the value of a string, or open a file handle, in another process:
You can't change another process's internal state without sending a message that the other process can choose to interpret (or by hacking the memory that the process is using)
You can't change another process's internal state without sending a message that the other process can choose to interpret (or by hacking the memory that the process is using)