Browse Source

Add quotes for winbuild path

notcammy 5 years ago
parent
commit
84ff0ca3ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pyinstalive/dlfuncs.py

+ 1 - 1
pyinstalive/dlfuncs.py

@@ -408,7 +408,7 @@ def iterate_users(user_list):
             else:
             else:
                 logger.info("Launching daemon process for '{:s}'.".format(user))
                 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(
                 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,
                     user,
                     pil.config_path,
                     pil.config_path,
                     pil.dl_path,
                     pil.dl_path,