Version française
Home     About     Download     Resources     Contact us    
Browse thread
Sys.getenv does not work under OS X?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Alan Schmitt <alan.schmitt@p...>
Subject: Re: [Caml-list] Sys.getenv does not work under OS X?
On 11 sept. 08, at 16:22, Eric Cooper wrote:

> On Thu, Sep 11, 2008 at 02:51:06PM +0200, Alan Schmitt wrote:
>> schmitta@charm compiler % echo $HOST
>> charm.inrialpes.fr
>
> Are you sure HOST is an environment variable, and not just a variable
> that's set in your shell? You can use "printenv HOST" to check.

Thanks for all the answers, this is the problem. I don't know what  
sets "HOST" but I had to export it to be able to access it.

Thanks again for helping me find the culprit.

Alan Schmitt