From fb36fbc5037e76298a303d71bd77df74a8b00049 Mon Sep 17 00:00:00 2001 From: Frederic Massart Date: Thu, 3 Oct 2013 10:41:54 +0800 Subject: [PATCH] Argument cwd passed to ProcessInThread is ignored. Fixes #51 --- lib/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools.py b/lib/tools.py index 6762b7e..2d25845 100644 --- a/lib/tools.py +++ b/lib/tools.py @@ -168,7 +168,7 @@ class ProcessInThread(threading.Thread): if type(cmd) != 'list': cmd = shlex.split(str(cmd)) self.cmd = cmd - self.cwd = None + self.cwd = cwd self.stdout = stdout self.stderr = stderr -- 2.11.0