r/ProgrammerHumor • • Jan 16 '14

[deleted by user]

[removed]

1.3k Upvotes

446 comments sorted by

View all comments

Show parent comment

2

u/Ilostmyredditlogin Jan 17 '14

+/u/CompileBot python --include-errors

from subprocess import call
call(["cat","/var/log/syslog"])

1

u/CompileBot Green security clearance Jan 17 '14

Output:

cat: /var/log/syslog: Permission denied

^source | ^info | ^git | ^report