Fix proper escaping for executable - Harmony

This commit is contained in:
Petr Kalis 2021-01-26 15:39:38 +01:00
parent dd6e1c3c43
commit 523ec644fe

View file

@ -26,7 +26,7 @@ class HarmonyPrelaunchHook(PreLaunchHook):
(
"import avalon.harmony;"
"avalon.harmony.launch(\"{}\")"
).format(harmony_executable.replace("\\", "/"))
).format(harmony_executable.replace("\\", "\\\\"))
]
# Append as whole list as these areguments should not be separated