[erlang-questions] Passing emulator command line flags to escript

Anthony Shipman als@REDACTED
Sun Feb 6 03:48:30 CET 2011


On Sat, 5 Feb 2011 08:45:37 pm Alexey Romanov wrote:
> According to http://www.erlang.org/doc/man/escript.html, it doesn't
> seem possible to start the same script with different emulator
> arguments without editing the script. Is this so? It would seem to
> make some sense for escript to support such flags in the same way as
> erl does...
>
> Yours, Alexey Romanov
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED

You can use the ERL_AFLAGS environment variable.

-- 
Anthony Shipman                    Mamas don't let your babies 
als@REDACTED                   grow up to be outsourced.


More information about the erlang-questions mailing list