changeset 6704:03e844e72c03

<zgrep> ` echo \'if o.access(a, o.X_OK):print u.check_output([\'bash\',a]),;exit()\' >> bin/tomfoolery
author HackBot
date Wed, 10 Feb 2016 02:56:40 +0000
parents f7fce8bff6a0
children a920f0e17459
files bin/tomfoolery
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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()