dot fix
[zanchey/dispense2.git] / sql-edition / servers / Idler.py
index 2670b51..89783e3 100755 (executable)
@@ -248,10 +248,10 @@ class FortuneIdler(StringIdler):
                return 20
 
 class PipeIdler(StringIdler):
-       def __init__(self, v, command):
+       def __init__(self, v, command, args):
                text = "I ate my cookie...."
                if os.access(command,os.F_OK|os.X_OK):
-                       (stdout, stdin) = popen2.popen2(command)
+                       (stdout, stdin) = popen2.popen2(command+' '+args)
                        text = string.join(stdout.readlines())
                        stdout.close()
                        stdin.close()

UCC git Repository :: git.ucc.asn.au