[erlang-questions] Path to erl

József Bérces jozsef.berces@REDACTED
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: erlang-questions-bounces@REDACTED [mailto:erlang-questions-bounces@REDACTED] On Behalf Of PAILLEAU Eric
Sent: Friday, March 27, 2015 04:48
To: erlang-questions@REDACTED
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
erlang-questions@REDACTED
http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list