Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redirect tty output to browser in demo shell #2

Merged
merged 1 commit into from Dec 13, 2012

Conversation

uwiger
Copy link
Contributor

@uwiger uwiger commented Dec 13, 2012

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 added a commit that referenced this pull request Dec 13, 2012
redirect tty output to browser in demo shell
@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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants