[erlang-questions] Values of os:type() on 32/64-bit Windows
Winston Smith
smith.winston.101@REDACTED
Thu Feb 11 17:08:18 CET 2010
On Thu, Feb 11, 2010 at 10:51 AM, James Hague <james.hague@REDACTED> wrote:
>> I get {win32,nt}.
>
> I get the same result with 64-bit Vista.
Hmmm ... researching this there seem to be some environment variables
that may be set (at least I think in the cmd prompt), for example:
os:getenv("PROCESSOR_ARCHITECTURE").
And:
os:getenv("PROCESSOR_IDENTIFIER").
Hopefully these will be set for Erlang.
Thanks for the feedback!
More information about the erlang-questions
mailing list