redirect tty output to browser in demo shell #2

Merged
merged 1 commit into from Dec 13, 2012

2 participants

@uwiger

First thing I tried with the shell demo was to enter c:regs(), which resulted in output in the real erlang shell, but not much in the browser.

This patch spawns a small group_leader process which collects IO generated by the evaluated command and sends it to the browser. The browser-side output is currently pretty ugly. I'll gladly leave that to some HTML/JS wiz to fix. :)

@joearms joearms merged commit 4e646ed into joearms:master Dec 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment