diff --git a/src/main/request_handler.ts b/src/main/request_handler.ts index f1ade98..52f00d3 100644 --- a/src/main/request_handler.ts +++ b/src/main/request_handler.ts @@ -815,7 +815,7 @@ async function handleInner( case 'exit_session': // play the game // resolve(new Responses.OkOrError(true, "starting the game...", request.id)); - let command = path.normalize(`${Config.getRyuPath()}`); + let command = `"${path.normalize(Config.getRyuPath())}"`; if (process.platform == 'win32') { command = `cmd /C ""${Config.getRyuPath()}""`; }