<div dir="ltr">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 <br>
<br>/usr/local/lib/erlang/erts-5.6.4/bin/beam.smp -W w -K true -- -<b>root /usr/local/lib/erlang</b> <b>-progname erl</b> -- <b>-home /home/myhome</b> other stuff...<br><br>If you're on Linux or Unix, try something like ps -elf|grep beam and take a look at the command lines there.<br>
<br><div class="gmail_quote">2008/9/30 Vladimir Mitsner <span dir="ltr"><<a href="mailto:vmitsner@gmail.com">vmitsner@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">In the man-page for init module:<br><br><a href="http://www.erlang.org/doc/man/init.html" target="_blank">http://www.erlang.org/doc/man/init.html</a>,<br><br>in the description of init:get_arguments/0, there is a reference to "system defined flags".<br>
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 defined?)<br>And if so - how would I go about editing these flags? (In case there is a file - where is it?)<br>
<br>Thank you.<br><br><br></div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br></blockquote></div><br></div>