[erlang-questions] When will print "*** Terminating erlang"
Mon Oct 18 16:07:35 CEST 2010
On Mon, Oct 18, 2010 at 02:01:01PM +0800, William Yangzhuwei wrote:
> hi there,
> I can start one erlang program with ` start_test.sh `(start_test.sh is just
> a script to start erl and passing some args).
> When I use `start_test.sh &` to let this job run in background, it cannot
> finish executing.
> I get some output like
> ()1> *** Terminating erlang ().
> I guess *** Terminating erlang is printed by otp not in this erlang program.
> How can I trace this trouble and any logging?
Try passing the -detached or -noshell flags to erl.
More information about the erlang-questions