From 5688f0181d4987eadea8d17427f0a69879945615 Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Mon, 2 Sep 2013 11:13:13 +0800 Subject: [PATCH] Threaded process also logs executed command --- lib/tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tools.py b/lib/tools.py index 6fc7104..37e5e2b 100644 --- a/lib/tools.py +++ b/lib/tools.py @@ -140,6 +140,7 @@ class ProcessInThread(threading.Thread): os.kill(self._pid, signal.SIGKILL) def run(self): + logging.debug(' '.join(self.cmd)) proc = subprocess.Popen(self.cmd, cwd=self.cwd, stdout=self.stdout, stderr=self.stderr) self._pid = proc.pid while True: -- 2.11.0