[erlang-questions] running release handler from -eval or -run

Joe Williams joe@REDACTED
Wed May 20 23:34:37 CEST 2009


I am attempting to run release handler commands using -eval (or -run) 
and receive the following error. Running the commands in the erlang 
terminal work fine.

> $ erl -eval 'release_handler:which_releases()'
> Erlang R13B (erts-5.7.1) [source] [64-bit] [smp:2:2] [rq:2] 
> [async-threads:0] [hipe] [kernel-poll:false]
>
> Eshell V5.7.1  (abort with ^G)
> 1> {"init terminating in 
> do_boot",{noproc,{gen_server,call,[release_handler,which_releases]}}}
>
> Crash dump was written to: erl_crash.dump
> init terminating in do_boot ()

Running something like inets:start or application:which_applications 
works as expected:

> $ erl -eval 'inets:start()'
> Erlang R13B (erts-5.7.1) [source] [64-bit] [smp:2:2] [rq:2] 
> [async-threads:0] [hipe] [kernel-poll:false]
>
> Eshell V5.7.1  (abort with ^G)
> 1>

Any idea what might be causing this?


Thanks.

-Joe

-- 
Name: Joseph A. Williams
Email: joe@REDACTED
Blog: http://www.joeandmotorboat.com/




More information about the erlang-questions mailing list