Re: [Opensim-dev] Supporting shell environment variables

2011-11-23 Thread Dahlia Trimble
At one time I had some code in there that would look at an environment variable and use it to set the external hostname for the region. I think that code has since been removed by someone else but I remember I did use a standard .NET call to do it, probably

Re: [Opensim-dev] Supporting shell environment variables

2011-11-23 Thread Dahlia Trimble
Also, I'm pretty sure that for both *nix and Windows a process inherits a *copy* of the environment from the parent process and can only change the copy.. so unless that program spawns processes, it cant really manipulate an environment that any other program will be able to see. I don't believe

Re: [Opensim-dev] Supporting shell environment variables

2011-11-23 Thread Justin Clark-Casey
Hi BlueWall. Nice work. I do have some comments * Will this work with all config sections, not just Environment? (e.g. ${DataService|ConnectionString} * Wouldn't it be more natural to use . as the separator rather than | (e.g. ${DatabaseService.ConnectionString}? * What happens now if

Re: [Opensim-dev] Supporting shell environment variables

2011-11-23 Thread BlueWall
On 11/23/2011 05:54 PM, Justin Clark-Casey wrote: Hi BlueWall. Nice work. I do have some comments * Will this work with all config sections, not just Environment? (e.g. ${DataService|ConnectionString} The [Environment] section is actually created internally by nini when the EnvConfigSource