Created
June 1, 2013 14:53
-
-
Save dvv/5690670 to your computer and use it in GitHub Desktop.
Start Erlang
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
# windows | |
if test "x$USERPROFILE" != x; then | |
DIRSEP=';' | |
ERL='start werl' | |
# *nix | |
else | |
DIRSEP=':' | |
ERL=erl | |
fi | |
APP=${PWD##*/} | |
# -eval "${APP}_app:start()." | |
${ERL} -env ERL_LIBS ".${DIRSEP}deps" +K true +P 4000000 -smp auto \ | |
-name ${APP}@127.0.0.1 \ | |
-boot start_sasl -sasl errlog_type error \ | |
-s "${APP}_app" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment