On Fri, 26 Apr 2013 05:41:00 GMT
"Sönke Ludwig" sludwig@rejectedsoftware.com wrote:
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)
You can use this:
https://bitbucket.org/Abscissa/semitwistdtools/src/c278c4620638629faa396a2d29e4b5034abf874d/src/semitwist/util/io.d?at=master#cl-168
(It uses some special imports at the top of that file.)
Should work for (at least) Win/Lin/OSX.