The environment should be completely writable, including `PWD`, to be consistent with normal shells.