Fixed start command file parsing

This commit is contained in:
Padawan-GM 2025-12-17 17:55:48 +01:00
parent 6a80582fbe
commit 68be0b11fb

View file

@ -17,7 +17,7 @@ from logs import logger
class ProcessController: class ProcessController:
def __init__(self): def __init__(self):
self.start_command: list[str] = shlex.split( self.start_command: list[str] = shlex.split(
Path(Config.START_COMMAND_FILE).read_text() Path(Config.START_COMMAND_FILE).read_text().replace("\n", " ")
) )
self.cwd = Config.SERVER_PATH self.cwd = Config.SERVER_PATH
self.process: Popen | None = None self.process: Popen | None = None