diff --git a/deploy/windows/create_exe.py b/deploy/windows/create_exe.py index 33d5928..292c9b8 100644 --- a/deploy/windows/create_exe.py +++ b/deploy/windows/create_exe.py @@ -17,7 +17,7 @@ import subprocess def __main(): with contextlib.suppress(AttributeError, psutil.Error): if psutil.Process().parent().parent().name() == "explorer.exe": - subprocess.Popen("powershell -NoExit -Command \\\"& {0}\\\"".format(sys.argv[0])) + subprocess.Popen("powershell -NoExit -Command \\\"& '{0}'\\\"".format(sys.argv[0])) return main()