> Sure that would be a possibility, but you could write it yourself ;). You > don’t mention the programming language you’re using, but it should not be > too difficult – all that is required is that you call the putenv() C > function to set the environment variable from within your program to a value > indicating that directory. Possibly some more work is needed, as that > directory is likely to be relative to the location of your program.
Yes, I could do that (I am using C++). But does this interacts with the OS then? If so, I do not like it. Imagine I have 2 independant programs that run on the same system and I want each of them to point to a different directory. There will be a conflict. This is why I would prefer to set the directory with a function so that it write to an internal variable of the library. I can probably implement that and propose a patch if you tell me where it is best to start. F ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general