aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/unix/run_erl.c
AgeCommit message (Collapse)Author
2014-02-24ose: Refactor global variables to ppdataLukas Larsson
This is needed because when starting multiple processes from the same shell command they will see the same global data if using status variables.
2014-02-24erts: Refactor common parts out of run_erl and to_erlLukas Larsson
This is in preperation for writing ose version of run_erl and to_erl
2013-09-11Define LOG_ERR for systems without syslog.hMatt Lewandowsky
2013-09-11Fix syslog definesMatt Lewandowsky
config.h defines HAVE_SYSLOG_H whereas the sources are looking for NO_SYSLOG to be undefined. As the logic of "if feature is available" makes more sense than "if feature is not unavailable", I opted for the config.h define.
2013-07-05run_erl: Redirect standard streams to /dev/nullJohannes Weißl
Like in epmd and erlexec. Otherwise "run_erl" fails on some platforms when called with the "-daemon" option, printing this error: "Cannot dup"
2013-06-12Update copyright yearsBjörn-Egil Dahlberg
2013-04-04Changed handshake from to_erl to run_erl, on behalf of shell searchFredrik Gustafsson
2012-08-31Update copyright yearsBjörn-Egil Dahlberg
2012-04-27run_erl: Set controlling terminalBjörn-Egil Dahlberg
2012-04-27run_erl: Use openpty slave descriptorBjörn-Egil Dahlberg
2012-04-20run_erl: Retry interrupted system callsBjörn-Egil Dahlberg
2011-05-02Teach run_erl RUN_ERL_DISABLE_FLOWCNTRL for disabling flow controlJonas Faklkevik
Flow control can cause unwanted behaviour of the beam process, if accidentally hit Ctrl-S (instead of Ctrl-D to detach) the entire beam may be blocked. Fix this problem by making it possible to turn off flow control by setting the environment variable RUN_ERL_DISABLE_FLOWCNTRL.
2011-03-29Fix race in pipe creation. Two simultaneous node starts caused failurePatrik Nyblom
2010-09-29Add corrected support for Solaris PTYs to run_erlRyan Tilder
Two related but slightly separate issues: run_erl doesn't support Solaris's /dev/ptmx device and run_erl didn't load the necessary STREAMS modules so that to_erl can provide terminal echo of keyboard input. This patch adds ifdef'd support for Solaris and derivatives to open /dev/ptmx directly since adding the C99 defines to CFLAGS breaks all kinds of other things in the build. It also adds ifdef'd ioctl calls to load the necessary STREAMS modules to permit termios to work.
2010-09-29Fix a typo that leads to syntax errors with DEBUG defined in run_erlRyan Tilder
While attempting to debug odd terminal echo issues on Solaris, I noticed that run_erl.c will fail to compile due to a typo causing a syntax error.
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP