Re: [Kepler-Project] wsapi environment variables

2010-10-21 Thread Thijs Koerselman
On Thu, Oct 21, 2010 at 10:17 PM, Thijs Koerselman < thijskoersel...@gmail.com> wrote: > > > On Thu, Oct 21, 2010 at 9:57 PM, Fabio Mascarenhas wrote: > >> What is your platform, and web server? >> > > I'm using xavante on osx and linux. > > > Argh I'm really an idiot. I had one too many shells o

Re: [Kepler-Project] wsapi environment variables

2010-10-21 Thread Thijs Koerselman
On Thu, Oct 21, 2010 at 9:57 PM, Fabio Mascarenhas wrote: > What is your platform, and web server? > I'm using xavante on osx and linux. Thijs ___ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/

Re: [Kepler-Project] wsapi environment variables

2010-10-21 Thread Fabio Mascarenhas
What is your platform, and web server? -- Fabio Mascarenhas On Thu, Oct 21, 2010 at 5:41 PM, Thijs Koerselman wrote: > On Thu, Oct 21, 2010 at 8:19 PM, Fabio Mascarenhas > wrote: >> >> Can't you just use os.getenv? Notice that the environment variables of >> your web server process can be radi

Re: [Kepler-Project] wsapi environment variables

2010-10-21 Thread Thijs Koerselman
On Thu, Oct 21, 2010 at 8:19 PM, Fabio Mascarenhas wrote: > Can't you just use os.getenv? Notice that the environment variables of > your web server process can be radically different from the ones in > your shell account... > > I've tried os.getenv() and indeed noticed that the variables of my sh

Re: [Kepler-Project] wsapi environment variables

2010-10-21 Thread Fabio Mascarenhas
Can't you just use os.getenv? Notice that the environment variables of your web server process can be radically different from the ones in your shell account... -- Fabio Mascarenhas On Thu, Oct 21, 2010 at 2:59 PM, Thijs Koerselman wrote: > My server script needs to know a few things about its

[Kepler-Project] wsapi environment variables

2010-10-21 Thread Thijs Koerselman
My server script needs to know a few things about its environment in order to find local files for example. I noticed that normal shell environment variables are not available in the server script. What would be the correct/preferred way to pass this kind of information down? Is it possible to pas