https://issues.dlang.org/show_bug.cgi?id=16595
Issue ID: 16595
Summary: thisExePath resolves symlinks but this isn't mentioned
in docs
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity: normal
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
```
import std.file;
import std.stdio;
void main(){
writeln(thisExePath);
}
```
```
cd /tmp/
rdmd -oftest main.d
ln -s ./test ./test_foo
./test_foo
/tmp/test
```
expected result:
/tmp/test_foo
Workaround?
--