[erlang-questions] system defined flags
Tue Sep 30 18:40:46 CEST 2008
If you look at get_argument/1, I believe the system defined flags are root,
progname, and home. These can be defined on the command line, and are
automatically defined when using the "erl" command (which is a script on
Linux), that looks something like
/usr/local/lib/erlang/erts-5.6.4/bin/beam.smp -W w -K true -- -*root
/usr/local/lib/erlang* *-progname erl* -- *-home /home/myhome* other
If you're on Linux or Unix, try something like ps -elf|grep beam and take a
look at the command lines there.
2008/9/30 Vladimir Mitsner <>
> In the man-page for init module:
> in the description of init:get_arguments/0, there is a reference to
> "system defined flags".
> Is it possible to edit "system defined flags?" (For example, is there a
> file with a special name where all of the "system defined flags" are
> And if so - how would I go about editing these flags? (In case there is a
> file - where is it?)
> Thank you.
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions