From 84adefa331c4159d432d22840663c38f155cd4c1 Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Fri, 20 Nov 2009 14:54:40 +0000 Subject: The R13B03 release. --- lib/reltool/examples/display_args | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lib/reltool/examples/display_args (limited to 'lib/reltool/examples/display_args') diff --git a/lib/reltool/examples/display_args b/lib/reltool/examples/display_args new file mode 100644 index 0000000000..bf0994ab7c --- /dev/null +++ b/lib/reltool/examples/display_args @@ -0,0 +1,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)]). -- cgit v1.2.3