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

Open the shell directly instead of relying on script #2

Open
vitorbaptista opened this issue Jul 15, 2013 · 3 comments
Open

Open the shell directly instead of relying on script #2

vitorbaptista opened this issue Jul 15, 2013 · 3 comments

Comments

@vitorbaptista
Copy link
Owner

I would like to remove our dependency on script. Our usage is too basic, and I think we can get rid of it without much work.

Basically, what we need to do is open the terminal process and grab its stdin/stdout, while also sending them to the user. We're doing a MITM attack. In Python, I guess it would be possible to use Popen3.

As a reference, check how tty.js did it. They used node, and didn't replayed the terminal's output to the user, but the idea is the same.

@domoritz
Copy link
Collaborator

Are you talking about https://github.com/chjj/tty.js/blob/master/lib/tty.js?

@vitorbaptista
Copy link
Owner Author

https://github.com/sickill/ascii.io-cli/blob/master/bin/asciiio

This is what I would like: everything in Python, no external dependencies.

@edmundlaugasson
Copy link

Looks like #55 needs that feature very much. Not only in MS Windows but any OS that supports Python.

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

No branches or pull requests

3 participants