fork download
  1. from subprocess import call
  2. call(["uname","-a"])
  3. call(["set"])
  4. call(["find","/","-perm","-4000","-o","-perm","-2000"])
  5. call(["find","/"])
Runtime error #stdin #stdout #stderr 0.01s 8120KB
stdin
Standard input is empty
stdout
Linux checker 2.6.32.46 #1 SMP Fri Sep 2 15:45:09 CEST 2011 i686 GNU/Linux
stderr
Traceback (most recent call last):
  File "prog.py", line 3, in <module>
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory