[erlang-questions] Path to erl

József Bérces <>
Fri Mar 27 00:11:03 CET 2015


Yesss. This one looks universal.
/proc and BINDIR work on Linux but not on Windows. 
Thanks everyone for the answers.

-----Original Message-----
From:  [mailto:] On Behalf Of PAILLEAU Eric
Sent: Friday, March 27, 2015 04:48
To: 
Subject: Re: [erlang-questions] Path to erl

Hi

 > init:get_arguments().
[{root,["/usr/local/lib/erlang"]},
  {progname,["erl"]},
  {home,["/home/eric"]}]

but be aware that heart:get_cmd/0 can give you the command that HEART will use in case of emulator reboot.
This command may have been overridden by heart:set_cmd/1 and can be different.

Regards
_______________________________________________
erlang-questions mailing list

http://erlang.org/mailman/listinfo/erlang-questions


More information about the erlang-questions mailing list