Explorar o código

Add quotes for winbuild path

notcammy %!s(int64=5) %!d(string=hai) anos
pai
achega
84ff0ca3ac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pyinstalive/dlfuncs.py

+ 1 - 1
pyinstalive/dlfuncs.py

@@ -408,7 +408,7 @@ def iterate_users(user_list):
             else:
                 logger.info("Launching daemon process for '{:s}'.".format(user))
                 start_result = helpers.run_command("{:s} -d {:s} -cp '{:s}' -dp '{:s}' {:s} {:s} {:s} {:s}".format(
-                    pil.winbuild_path if pil.winbuild_path else "pyinstalive",
+                    ("'" + pil.winbuild_path + "'") if pil.winbuild_path else "pyinstalive",
                     user,
                     pil.config_path,
                     pil.dl_path,