On Thu, 06 Mar 2014 16:19:24 GMT, Atila Neves wrote:

dub run can currently take a package name that was installed with dub fetch. However, it runs with the current working directory set to ~/.dub/packages/... and I'd like it to run in the directory I launch dub run from. Is there any way to do this? Thanks in advance,

Atila

Oh, and as a side-effect of it running in the wrong directory, it leaves behind traces such as the binary it built and the .dub directory which cause a subsequent call to "dub fetch" to fail because of the untracked files there.

dub fetch dtest
dub run dtest #runs in the wrong dir and doesn't work as expected
dub fetch dtest #fails