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

Alexey Romanov alexey.v.romanov@REDACTED
Sun Feb 6 09:09:52 CET 2011


On Sun, Feb 6, 2011 at 5:48 AM, Anthony Shipman <als@REDACTED> wrote:
> 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.

Is doesn't only work for erl? Thanks!

Yours, Alexey Romanov



> --
> Anthony Shipman                    Mamas don't let your babies
> als@REDACTED                   grow up to be outsourced.
>
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>
>


More information about the erlang-questions mailing list