From 332f9312d361968cd602352092139b071c17a40c Mon Sep 17 00:00:00 2001 From: Padawan-GM Date: Wed, 17 Dec 2025 18:00:43 +0100 Subject: [PATCH] Actually fixed start command file parsing --- controllers.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/controllers.py b/controllers.py index 7477a22..a6f9335 100644 --- a/controllers.py +++ b/controllers.py @@ -17,7 +17,10 @@ from logs import logger class ProcessController: def __init__(self): self.start_command: list[str] = shlex.split( - Path(Config.START_COMMAND_FILE).read_text().replace("\n", " ") + Path(Config.START_COMMAND_FILE) + .read_text() + .replace("\\", " ") + .replace("\n", " ") ) self.cwd = Config.SERVER_PATH self.process: Popen | None = None