--- Comment #6 from Steven Schveighoffer <schvei...@yahoo.com> 2010-08-06
05:35:08 PDT ---
(In reply to comment #5)
> There are system functions to get the path to the currently running
> I made a function for this to Tango that works on Windows, Linux, Mac OS X and
> FreeBSD: http://dsource.org/projects/tango/attachment/ticket/1536/process.d .
> I'm willing to license the code to whatever license necessary for inclusion in
Thanks for the offer. But I'd rather not get the exact executable. I used to
use symlinks to trick dmd into thinking it was in another directory, I don't
want to disable that by having dmd ignore the symlink location.
But your offer is generous, and probably would be good to have in phobos. I
will keep it in mind! (Phobos' process is due for an update but is blocked by a
nasty compiler bug)
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------