aboutsummaryrefslogblamecommitdiffstats
path: root/lib/reltool/examples/display_args
blob: bf0994ab7c5f11168e0657fd3830ca0255e819d3 (plain) (tree)
1
2
3
4
5
6
7
8







                                                              
#!/usr/bin/env escript
%% -*- erlang -*-
%%! -smp disable

main(Args) ->
    io:format("Root dir: ~s\n", [code:root_dir()]),
    io:format("Script args: ~p\n", [Args]),
    io:format("Smp: ~p\n", [erlang:system_info(smp_support)]).