The new std.process is ready for review

Jacob Carlborg doob at me.com
Tue Mar 26 07:10:55 PDT 2013


On 2013-03-26 14:07, Lars T. Kyllingstad wrote:

> If this gets added *before* the new std.process, we should at least
> agree on a consistent naming convention.  The new std.process has
> @property thisProcessID(), which replaces getpid(), and which is
> somewhat consistent with std.concurrency.thisTid.  I also think
> std.file.getcwd() is part of this function family, and that it should be
> moved to std.process (under a different name).
>
> Personally, I dislike function names that start with "get".

so what would you prefer, "thisProcessPath"? Or thisExecutablePath, perhaps?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list