diff --git a/bottles/wine.py b/bottles/wine.py index ad4d181201..02afd26239 100644 --- a/bottles/wine.py +++ b/bottles/wine.py @@ -139,8 +139,8 @@ class T_Software(threading.Thread): def __init__(self, working_prefix_dir, file_src): threading.Thread.__init__(self) self.working_prefix_dir = working_prefix_dir - self.file_src = file_src - + self.file_src = file_src.replace(" ", "\\ ") + def run(self): os.chdir(self.working_prefix_dir) subprocess.call("WINEPREFIX="+self.working_prefix_dir+" wine "+self.file_src, shell=True)