diff options
author | Jonas Faklkevik <[email protected]> | 2011-05-02 20:10:05 +0200 |
---|---|---|
committer | Jonas Falkevik <[email protected]> | 2011-05-02 20:10:05 +0200 |
commit | 1307af30ec3e2bfaeeca45a63fbc944791662226 (patch) | |
tree | 28cc619f87f3603b2528ef7f14e1eabeca1b9e9c /erts/doc | |
parent | 0e752dde5e322373055c810386353e1d2cc61836 (diff) | |
download | otp-1307af30ec3e2bfaeeca45a63fbc944791662226.tar.gz otp-1307af30ec3e2bfaeeca45a63fbc944791662226.tar.bz2 otp-1307af30ec3e2bfaeeca45a63fbc944791662226.zip |
Teach run_erl RUN_ERL_DISABLE_FLOWCNTRL for disabling flow control
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.
Diffstat (limited to 'erts/doc')
-rw-r--r-- | erts/doc/src/run_erl.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/erts/doc/src/run_erl.xml b/erts/doc/src/run_erl.xml index 7bf7f559c5..da08859c7b 100644 --- a/erts/doc/src/run_erl.xml +++ b/erts/doc/src/run_erl.xml @@ -144,6 +144,14 @@ <item>The size (in bytes) of a log file before switching to a new log file. Default is 100000, minimum is 1000 and maximum is approximately 2^30.</item> + <tag>RUN_ERL_DISABLE_FLOWCNTRL</tag> + <item>If defined, disables input and output flow control for the pty opend by run_erl. + Useful if you want to remove any risk of accidentally blocking the flow control + by hit Ctrl-S (instead of Ctrl-D to detach). + Which may result in blocking of the entire beam process + and in the case of running heart as supervisor + even the heart process will be blocked when writing log message to terminal. + Leaving the heart process unable to do its work.</item> </taglist> </section> |