← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Look in PATH for binaries

 

On Sat, Jul 21, 2012 at 07:41:29PM +0300, Denis Kuzmenko wrote:
> I've tried to find some better way but failed.
> Any suggestions on how to do it better?

At least a conditional compilation changing ';' in ':'. For the best way look in my other message of a few minutes ago...

Ooops... it seems it wasn't sent to the list :(((

Anyway, look in the wxPathList class for members AddEnvList and FindValidPath. Does Exactly what you want.

> Anyways this code will not break windows but will give additional

It would malfunction under windows; it *could* give problems.

-- 
Lorenzo Marcantonio
Logos Srl


References