[erlang-questions] does shell:catch_exception(true) actually work?
Thu Mar 26 20:25:36 CET 2009
On Thu, Mar 26, 2009 at 20:18, ryeguy <> wrote:
> This might sound stupid, but since when does the shell terminate when
> there's an exception? Here's what happens with mine:
> Erlang R13A (erts-5.7) [source] [smp:4:4] [rq:4] [async-threads:0]
> [hipe] [kernel-poll:false]
> Eshell V5.7 (abort with ^G)
> 1> bogus().
> ** exception error: undefined shell command bogus/0
The process running the shell dies and is restarted. See here:
** exception error: undefined shell command bogus/0
* exception error: undefined shell command bogus/0
The first time, the process dies and another one is created to drive
the shell. The second time, the process is the same.
More information about the erlang-questions