Merge pull request #146 from mzfr/patch-1

Update TTY shell command for python
This commit is contained in:
Swissky 2020-01-17 17:11:46 +01:00 committed by GitHub
commit 590b7681e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -343,7 +343,7 @@ Spawn a TTY shell from an interpreter
```powershell
/bin/sh -i
python -c 'import pty; pty.spawn("/bin/sh")'
python3 -c 'import pty; pty.spawn("/bin/sh")'
perl -e 'exec "/bin/sh";'
perl: exec "/bin/sh";
ruby: exec "/bin/sh"