[erlang-questions] When will print "*** Terminating erlang"

William Yangzhuwei <>
Tue Oct 19 01:27:32 CEST 2010


Thanks you guys,
Finally,I found that it because erl process receive the suspend signal.
I use -noshell to solves it.

Really thanks you guys
在 2010-10-18 下午10:07,"Michael Santos" <>写道:
> 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 mailing list