Update TTY shell command for python

Made the command to use python3 because mostly now the machines have python3 installed.
This commit is contained in:
Mehtab Zafar 2020-01-10 17:57:53 +05:30 committed by GitHub
parent 7ab6750655
commit 8dc1e3c5fe
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 ```powershell
/bin/sh -i /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 -e 'exec "/bin/sh";'
perl: exec "/bin/sh"; perl: exec "/bin/sh";
ruby: exec "/bin/sh" ruby: exec "/bin/sh"