From: Frederic Massart Date: Thu, 3 Oct 2013 02:41:54 +0000 (+0800) Subject: Argument cwd passed to ProcessInThread is ignored. Fixes #51 X-Git-Tag: v0.5~5 X-Git-Url: https://git.cameron1729.xyz/?a=commitdiff_plain;h=fb36fbc5037e76298a303d71bd77df74a8b00049;p=mdk.git Argument cwd passed to ProcessInThread is ignored. Fixes #51 --- 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