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
<thijskoersel...@gmail.com> wrote:
> 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 pass custom variables through wsapi_env?
> Thijs
> _______________________________________________
> Kepler-Project mailing list
> Kepler-Project@lists.luaforge.net
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
> http://www.keplerproject.org/
>

_______________________________________________
Kepler-Project mailing list
Kepler-Project@lists.luaforge.net
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to