python tty spawn code example
Example 1: python spawn shell
python -c 'import pty;pty.spawn("/bin/bash")'
Example 2: tty escape
python -c 'import pty; pty.spawn("/bin/bash")'
python -c 'import pty;pty.spawn("/bin/bash")'
python -c 'import pty; pty.spawn("/bin/bash")'