On Fri, 26 Apr 2013 05:41:00 GMT, Sönke Ludwig wrote:

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).

Yes! Good idea. DUB stores application binary somewhere in temporary directory, and it's useless to determine executable path. Thanks.