Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (10 sloc) 0.278 kB
%% -*- Mode: Erlang; tab-width: 4 -*-
-module(agner_utils).
-export([launch_browser/1]).
launch_browser(URL) ->
case os:type() of
{unix, darwin} ->
os:cmd("open " ++ URL);
{unix, linux} ->
os:cmd("firefox " ++ URL ++ " &")
end.
Jump to Line
Something went wrong with that request. Please try again.