← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Look in PATH for binaries

 

On Sat, Jul 21, 2012 at 03:57:47PM -0400, Wayne Stambaugh wrote:
> There already is a better way.  It's called ldconfig.  This is how
> you manage library paths in Linux.  It allows you to add custom
> paths to your hearts content.  You can even add temporary paths in a

ldconfig and LD_LIBRARY_PATH are for dynamic libs... he asked something for finding executables.

He looked for something more like execvp (no idea if is there on windows). Or system() which is ANSI/ISO compliant too! (I agree that system could do unwanted things)

I didn't follow the discussion from the start, it seems to me he wanted the executable path for finding help files or some resource like that (of course, for that, the unix way would be to use a KICAD_HOME environment variable, on windows... depends on the version of windows:D)

-- 
Lorenzo Marcantonio
Logos Srl


References