Implementing std.log

Jacob Carlborg doob at me.com
Wed May 11 11:38:01 PDT 2011


On 2011-05-10 16:41, Andrei Alexandrescu wrote:
> On 5/10/11 3:22 AM, Jacob Carlborg wrote:
>> Are you referring to core.runtime.Runtime.args? That is not completely
>> reliable because:
>>
>> * You can start a new process, with exec, and then pass in whatever you
>> want as the first argument to the process.
>>
>> * If you start an application via a symlink wouldn't that refer to the
>> symlink instead of the actual executable?
>>
>> * Also if you're running an application in a bundle on Mac OS X it would
>> refer to the bundle and not the actual executable, if I recall correctly.
>
> I see. I'll defer ultimate decision on adding getProcessPath to Sean and
> Walter. Probably with a little experimentation to clarify motivation,
> getProcessPath is a worthy addition.
>
>
> Thanks,
>
> Andrei
>

Sean, Walter, is this worth including?

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list