logoalt Hacker News

creatoneztoday at 6:03 AM0 repliesview on HN

It's at the kernel level. Each process has its own current working directory. On Linux, these CWD values are exposed at `/proc/[...]/cwd`. This value affects the resolution of relative paths in filesystem operations at a syscall level.