escript, flags to script

Joe Armstrong <>
Mon Mar 26 10:22:07 CEST 2001

> According to the 'erl' manual page it should be possible to stop erl
> from interpreting arguments by doing this:
> erl -s module function -- any-args
> and the use 'init:get_args()' to get 'any-args'.
> I thnk I know why nobody has suggested this. It does not work.
> But either it should be fixed, or the man page should be updated...

You're quite right it's very broken :-) *especially* if the any args
has one of the "erlang" flags -s, ... etc.

Joe Armstrong,                       
Alteon WebSystems,                     tel:  +46 8-545 550 00
S:t Eriksgatan 44, IV,                 fax:  +46 8-654 70 71
SE-112 32 Stockholm, Sweden            info:

More information about the erlang-questions mailing list