[Qgis-developer] external programs in QGIS and plugins need configurable location

William Kyngesburye woklist at kyngchaos.com
Wed Apr 21 15:48:26 EDT 2010


Kind of a bug/feature request for plugins in general, though it was brought to my attention for the GDAL tools plugin.

At least on OS X (maybe Windows?) applications (the GUI, bundle type, like Qgis) do not get anything from the shell environment, like the PATH.  For any use of external CLI programs, applications will fail to find them in the PATH as would happen when run from the Terminal.  There is one "official" way, but it's not well documented (if at all) or known, and is still clunky and un-Mac-like.

Plugins that use external programs, ie GDAL Tools using the GDAL programs, need a configuration option to set and save the path to those programs.


-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable.  There is another theory which states that this has already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro




More information about the Qgis-developer mailing list