Jarry Shaw <jarrys...@icloud.com> added the comment:
Chris' patch works on macOS 10.14 (Mojave); but after it terminates, tty attributes are not restored (new-lines are missing). btw, I've implemented a workaround library with solution through either `ps` command or `psutil` package, see `ptyng` on PyPI. ---------- nosy: +jarryshaw _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue26228> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com