[erlang-questions] RB and remote shells

42 views
Skip to first unread message

Ali Sabil

unread,
Oct 4, 2012, 8:33:27 AM10/4/12
to Erlang
Hi all,

I have been using rb in a remote shell, and I am wondering why do I
have to go through changing the group leader of the rb_server as
described here:
http://stackoverflow.com/questions/2355744/running-the-report-browser-rb-for-sasl-error-reports-whilst-in-a-remote-shell

Are there any plans or idea on how to fix this behavior?

Thanks,
Ali
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Yurii Rashkovskii

unread,
Oct 4, 2012, 4:45:21 PM10/4/12
to erlang-pr...@googlegroups.com, Erlang
Ali,

Because remote node's rb_sever is started using that node's supervision tree thus inheriting a group leader on that node. When it prints stuff out, it gets routed to that remote group leader as opposed to your local group leader that can print stuff out on your local terminal.

Hope this makes sense.

Ali Sabil

unread,
Oct 5, 2012, 3:37:27 AM10/5/12
to Yurii Rashkovskii, erlang-pr...@googlegroups.com, Erlang
Thanks Yurii,

I see the issue, my question was more about if it would make sense to
change the behavior of rb to have more sensible defaults, for example
by inheriting the group leader of the process starting it?
Reply all
Reply to author
Forward
0 new messages