Merge branch 'master' into upcoming/v4.5

This commit is contained in:
Alexander Graf
2020-07-30 17:16:00 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -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()