Changing Solaris environment variables so os:getenv/1 gets th e ne w value

Sean Hinde Sean.Hinde@REDACTED
Fri Mar 24 23:01:14 CET 2000


Thanks Peter:

> Try os:putenv(Var, Value).
> 
> /Peter

An intriuging answer. There is no documentation on this, it is not in module
os source, and m(os). returns:

Exports: 
         cmd/1
         find_executable/1
         find_executable/2
         handle_call/3
         handle_info/2
         init/1
         module_info/0
         module_info/1
         start_link/0
         terminate/2
         type/0
         version/0

I guess it is a BIF. I must look through the source sometime and see what
other goodies are in there.

Cheers,
Sean



More information about the erlang-questions mailing list