Skip to content

Instantly share code, notes, and snippets.

@xandkar
Created May 25, 2012 15:11
Show Gist options
  • Save xandkar/2788675 to your computer and use it in GitHub Desktop.
Save xandkar/2788675 to your computer and use it in GitHub Desktop.
Another way to get user's home dir in Erlang.
init:get_argument(home). %%% {ok,[["/home/username"]]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment