On Wed, 24 Apr 2013 15:18:13 GMT, Jack Applegame wrote:
Hello.
Thanks for great project.
I have question about vibe.dHow to determine application root path?
If you mean at run time, this is a bit fiddly (there is no nice abstraction anywhere that I know at least):
http://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe
It would probably be a good idea to add such a function to Phobos at some point.
Usually, to avoid that, I just assume that the current working directory is the same as the executable directory at startup and store that as the application root (or possibly the parent directory).