basePath

Returns the directory that holds the running executable, ending with a path separator.

The value is read from SDL once and cached. When SDL cannot report it, which can happen before Sdl.init on some platforms, the value is "./" and relative paths resolve against the current working directory instead.