blob: a8882f7bda4760188e69d06e859a07e79c23949f (
plain) (
tree)
|
|
#!/usr/bin/env escript
%% -*- erlang -*-
%%! -emuarg emuvalue
main(Args) ->
{ok,[Emuvalue]} = init:get_argument(emuarg),
io:format("Root dir: ~s\n", [code:root_dir()]),
io:format("Script args: ~p\n", [Args]),
io:format("Emuarg: ~p\n", [Emuvalue]).
|