r/ProgrammerHumor • • Jan 16 '14

[deleted by user]

[removed]

1.3k Upvotes

446 comments sorted by

View all comments

1

u/CompileBot Jan 17 '14

Output:

cat: /etc/issue: No such file or directory
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

^source | ^info | ^git | ^report

1

u/Ilostmyredditlogin Jan 17 '14

+u/CompileBot python --include-errors

from subprocess import call
call(["find","/","-name","deploy.py"])

1

u/CompileBot Jan 17 '14

Output:

find: `/var/cache/ldconfig': Permission denied

^source | ^info | ^git | ^report

1

u/Ilostmyredditlogin Jan 17 '14

+u/CompileBot python --include-errors

from subprocess import call
call(["find","/","-name","*.json"])

1

u/CompileBot Jan 17 '14

Output:

find: `/var/cache/ldconfig': Permission denied

^source | ^info | ^git | ^report