Re:Most detailed ever photograph of The Night Watch goes online
by schoen on Tuesday May 12, 2020 @06:15PM
(#23160699)
Perhaps it's relative to the application's current working directory?
[ Parent
| on HN ]
Re:Most detailed ever photograph of The Night Watch goes online
by mgraupner on Wednesday May 13, 2020 @03:01AM
(#23164244)
Binary is in ~/Downloads/dezoomify-rs/, image was saved in ~/.
Re:Most detailed ever photograph of The Night Watch goes online
by schoen on Wednesday May 13, 2020 @08:31AM
(#23166189)
Unix 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".
Re:Most detailed ever photograph of The Night Watch goes online
by lovasoa on Wednesday May 13, 2020 @03:36AM
(#23164444)
It 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 ?