X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=moncommands.py;fp=moncommands.py;h=bda238968ad7265d4d6642a873c5e8a28f9762b9;hb=ff1455177461f5adf513543fd2a85289f359ff0e;hp=869cc96408d50870c53141ddd213325ae9f9b89f;hpb=32e6f3bdf4fe68b057cf070b756418333ae707d6;p=monitor.git diff --git a/moncommands.py b/moncommands.py index 869cc96..bda2389 100644 --- a/moncommands.py +++ b/moncommands.py @@ -46,7 +46,7 @@ class CMD: def run(self, cmd, timeout=COMMAND_TIMEOUT*2): - #print "CMD.run(%s)" % cmd + print "CMD.run(%s)" % cmd s = Sopen(cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) self.s = s (f_in, f_out, f_err) = (s.stdin, s.stdout, s.stderr)