I just want to mention dtach. It's what we use and it works fantastic. Unlike screen you can have as many terminals attached to erlang as you want and gets in the way much less with special characters.<br><br><br>Sergej<br>
<br><div class="gmail_quote">On Fri, Jan 6, 2012 at 9:35 PM, Zabrane Mickael <span dir="ltr"><<a href="mailto:zabrane3@gmail.com">zabrane3@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Let me try all these hints on my release.<br>
Thanks again Garrett !<br>
<br>
Regards,<br>
Zabrane<br>
<div class="HOEnZb"><div class="h5"><br>
On Jan 6, 2012, at 9:35 PM, Dmitry Kolesnikov wrote:<br>
<br>
> My issue pop up with R15B on EC2 small instance.<br>
> On R14B04 it was working in similar manner like you shown.<br>
><br>
> - Dmitry<br>
><br>
><br>
> On 6.1.2012, at 22.19, Garrett Smith <<a href="mailto:g@rre.tt">g@rre.tt</a>> wrote:<br>
><br>
>> On Fri, Jan 6, 2012 at 12:58 PM, dmitry kolesnikov<br>
>> <<a href="mailto:dmkolesnikov@gmail.com">dmkolesnikov@gmail.com</a>> wrote:<br>
>>> Hello,<br>
>>> Recently I meet issue with run_erl and heart. Heart monitors only beam<br>
>>> process, if run_erl dies then to_erl cannot access console. I am<br>
>>> planning to rollback into remote shell approach.<br>
>><br>
>> This is not true. You may be seeing something environment specific or<br>
>> have a configuration issue.<br>
>><br>
>> FWIW, I've used run_erl in a large variety of production settings and<br>
>> would strongly recommend it.<br>
>><br>
>> Here's what I see on Linux R14B04:<br>
>><br>
>> $ mkdir /tmp/test<br>
>> $ pgrep beam && pgrep run_erl # confirm no running Erlang procs<br>
>> $ HEART_COMMAND="run_erl -daemon /tmp/test/ /tmp/test/ 'erl -heart'"<br>
>> run_erl -daemon /tmp/test/ /tmp/test/ "erl -heart"<br>
>> $ pgrep beam && pgrep run_erl<br>
>> 8618<br>
>> 8616<br>
>> $ echo "1 + 1." | to_erl /tmp/test/<br>
>> Attaching to /tmp/test/erlang.pipe.3 (^D to exit)<br>
>><br>
>> [EOF]<br>
>> $ tail -n3 /tmp/test/erlang.log.1<br>
>> 1> 1 + 1.<br>
>> 2<br>
>> $ pkill run_erl<br>
>> $ pgrep beam && pgrep run_erl<br>
>> 8703<br>
>> 8701<br>
>> $ echo "2 + 2." | to_erl /tmp/test/<br>
>> Attaching to /tmp/test/erlang.pipe.4 (^D to exit)<br>
>><br>
>> [EOF]<br>
>> $ tail -n3 /tmp/test/erlang.log.1<br>
>> 1> 2 + 2.<br>
>> 4<br>
>> $ pkill beam<br>
>> $ pgrep beam && pgrep run_erl<br>
>> 8753<br>
>> 8751<br>
>> $ echo "4 + 4." | to_erl /tmp/test/<br>
>> Attaching to /tmp/test/erlang.pipe.5 (^D to exit)<br>
>><br>
>> [EOF]<br>
>> $ tail -n3 /tmp/test/erlang.log.1<br>
>> 1> 4 + 4.<br>
>> 8<br>
>> $ pkill heart<br>
>> $ pgrep beam && pgrep run_erl<br>
<br>
<br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br>