Hacker News new | ask | show | jobs
by account42 351 days ago
This is good because the current directory conceptually process wide for the user as well. If your program isn't a shell or performs a similar function then you probably should not change the working directory at all.

If you need thread-specific local paths just use one of the *at() variants that let you explicitly specify a directory handle that your path is relative to.