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 https://github.com/Mythical-Github/unreal_auto_mod/commit/92c3cdd9acf4a1e07eeb96d6d085da6c6c24e620