# HG changeset patch # User HackBot # Date 1455073000 0 # Node ID 03e844e72c03af93411d1687bb9483eab64c9e11 # Parent f7fce8bff6a055b1576ebf34b5f6e70b5082d8bc ` echo \'if o.access(a, o.X_OK):print u.check_output([\'bash\',a]),;exit()\' >> bin/tomfoolery diff -r f7fce8bff6a0 -r 03e844e72c03 bin/tomfoolery --- a/bin/tomfoolery Wed Feb 10 02:56:38 2016 +0000 +++ b/bin/tomfoolery Wed Feb 10 02:56:40 2016 +0000 @@ -2,3 +2,4 @@ import os as o,sys as s,subprocess as u if len(s.argv) != 2:print"I have nothing to say to you.";exit() if not o.path.isdir(t):print"Somebody should take a peek inside me.";exit() +if o.access(a, o.X_OK):print u.check_output([bash,a]),;exit()