How to Find Application executable Path on Linux
Posted: Thu Sep 14, 2023 8:40 am
Hi
On Linux , as opposed to MacOS and Windows, the function GetCurrentDirectory() returns true current directory, which can be different from application executable path.
Knowing where the app resides is more than useful, if application is portable and does not store data in user directory (/home/user/...)
How do I ensure I get correct application executable path on Linux at application start-up?
On Linux , as opposed to MacOS and Windows, the function GetCurrentDirectory() returns true current directory, which can be different from application executable path.
Knowing where the app resides is more than useful, if application is portable and does not store data in user directory (/home/user/...)
How do I ensure I get correct application executable path on Linux at application start-up?