POV-Ray : Newsgroups : povray.tools.general : all2pov released : Re: all2pov released Server Time
18 May 2024 06:34:16 EDT (-0400)
  Re: all2pov released  
From: Alexandre DENIS
Date: 15 Sep 2008 05:18:22
Message: <48ce285d@news.povray.org>
Allen wrote:

> There are some ways you can still find it out.
> 
> Windows GetModuleFileName or something like that should return the path to
> the
> executable file.  On Linux I think there is either an environment variable
> or
> symbolic link, something like /proc/self or _SELF or something.  I've read
> about it it's supposed to contain the path to the executable.  I don't
> think it is a POSIX standard but just used on Linux.

On Linux, /proc/self/exe is a symbolic link to the executable.

-a.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.