Open the shell directly instead of relying on script
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.
Are you talking about https://github.com/chjj/tty.js/blob/master/lib/tty.js?
https://github.com/sickill/ascii.io-cli/blob/master/bin/asciiio
This is what I would like: everything in Python, no external dependencies.
Looks like #55 needs that feature very much. Not only in MS Windows but any OS that supports Python.