3 ms·
Perhaps it's relative to the application's current working directory?
by schoen 7y ago
Perhaps it's relative to the application's current working directory?
- mgraupner 6y agoBinary is in ~/Downloads/dezoomify-rs/, image was saved in ~/.
- lovasoa 6y agoIt is relative to the current working directory, which is not necessarily the same as the directory the binary is in. We could display the full path, though. Interested in making a PR ?
- schoen 6y agoUnix programs start, not in the directory that their binaries are in, but rather in the directory that their parent processes are in. That could be the directory of the binary if the parent process did a chdir(2) there before spawning the child, but command-line shells never do that unless the user explicitly typed "cd".