fork download
  1. from subprocess import call
  2. print(call(["cat", "/etc/shadow"]))
  3. print(call(["whoami"]))
Success #stdin #stdout #stderr 0.03s 9344KB
stdin
Standard input is empty
stdout
1
1
stderr
cat: /etc/shadow: Permission denied
whoami: cannot find name for user ID 20089