thisExePath and rdmd

Andrea Fontana nospam at example.com
Fri Jan 17 01:23:15 PST 2014


thisExePath "returns the full path of the current executable".

If I run something like "./mysource.d" (using rdmd shebang) it 
returns the full path to compiled executable in /tmp folder (not 
so useful I think!). Is there a way to have the path of source 
itself?



More information about the Digitalmars-d-learn mailing list