On 17-11-2011 13:55, michael.vancann...@wisa.be wrote: > On Thu, 17 Nov 2011, Reinier Olislagers wrote: >> Hi list, >> >> It seems FPC allows one to retrieve environment variables on Linux/Unix >> (GetEnvironmentVariable) but not to set them. >> >> Is that correct? > > Yes. <snip> > No. Unix works differently. > > Environment variables are specified on startup, and are then immutable. > > If you want to specify the environment for a process, you must do it at the > start. Thanks for the info. It was already quite fishy to me that such seemingly simple functionality wasn't implemented...
Regards, Reinier _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal