How to make default path to the executable file?

Hi. I’m still confusing on solve one problem on render engine which need to select binary executable file for working engine properly but I would like to include that binary executable file inside my addon (e.g.: <my_addon\bin\engine.exe>) and post relative path to that exe file via addon istelf not as “Select path to exe file”-like method. By default for selecting path to exe file is works like this on my addon:

exe_bin_dir: bpy.props.StringProperty(name="",
                                             description="",
                                             default=util.switchpath(tempfile.gettempdir())+'/',

There is “util.switchpath” not by default, it does mean it takes “switchpath” defined operator from inside “util.py” file and pin here.

So, my question is how to code for make default path to my addon like for example:

exe_bin_dir: bpy.props.StringProperty(name="",
                                         description="",
                                         default="./<my_addon/bin/engine.exe>"

What am I must overwrite here on three dots?

default=...,

To get the current addon path you use this:

os.path.dirname(__file__)
'C:\\path\\of\\the\\addon'

# note that these two are exactly the same
os.path.dirname(__file__) == __path__[0]
True

And then you combine it like this:

os.path.join(os.path.dirname(__file__), 'bin', 'engine.exe')
'...\bin\\engine.exe'

Thank you mate. It solved problem!