aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ermacs.in
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-10-14 01:49:24 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-10-14 01:49:24 +0200
commit90640c1aed302fd83a500bb9ccdfb6cf7b481112 (patch)
treedaaec6345cc64a77b8cf815c4e08409de997be63 /src/ermacs.in
parent190e6483ae66769e031c9b1ef0ca75d5fabe3e26 (diff)
downloadermacs-fork-90640c1aed302fd83a500bb9ccdfb6cf7b481112.tar.gz
don't use now-incompatible file_gl for redirecting stdout to file
instead use the stderr group leader and redirect stderr on 'erl' invocation. * let error_logger use its file logger handler also let i:ii/1 use the list of modules to interpret directly. that way 'edit' can be debugged as well.
Diffstat (limited to 'src/ermacs.in')
-rw-r--r--src/ermacs.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ermacs.in b/src/ermacs.in
index cbb521f..accb10f 100644
--- a/src/ermacs.in
+++ b/src/ermacs.in
@@ -2,10 +2,8 @@
BASEDIR=%BASEDIR%
-SLANG_EBIN_DIR=${BASEDIR}/../slang/ebin
-
-erl -pa ${SLANG_EBIN_DIR} -pa ${BASEDIR}/ebin -pa ${BASEDIR}/mods/ebin \
- -pa ${BASEDIR}/../msc/ebin -noshell -s edit start $*
+erl -pa ${BASEDIR}/ebin -pa ${BASEDIR}/mods/ebin \
+ -noshell -nouser -s edit start $* 2>/tmp/ermacs-misc.log
# How do I get sh to run this in response to SIGINT?
stty sane