Created
June 5, 2019 06:47
-
-
Save BookGin/7f2fc9d7ca38b140fe8c1fc981820ef0 to your computer and use it in GitHub Desktop.
Spawn a tty shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python -c 'import pty;pty.spawn("sh")' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment