When compiling an app in exe form, then running the tui, and having it run the current exec + --version, it throws a file not found error.
While manually doing the same thing in the terminal, causes no problems.
Current terminal working directory seems unrelated
https://click.palletsprojects.com/en/stable/api/#click.version_option
Here is an example app that would utilize this
Mythical-Github/unreal_auto_mod@92c3cdd