When the executable is symlinked to another location, running thisExePath on Linux gives the symlinked location. Doing the same on Mac OSX returns the original location (doesn't follow the symlink).
Both outcomes are wanted in some cases though so when fixing this, maybe it is a good idea to add an optional flag to follow symlinks? (I think it makes sense for the flag defaultto to be false)
dlang (@SerialVelocity) reported this on 2014-09-22T04:02:20Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=13518
CC List
Description