Actually fixed start command file parsing
This commit is contained in:
parent
8ce9d46dad
commit
332f9312d3
1 changed files with 4 additions and 1 deletions
|
|
@ -17,7 +17,10 @@ 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().replace("\n", " ")
|
Path(Config.START_COMMAND_FILE)
|
||||||
|
.read_text()
|
||||||
|
.replace("\\", " ")
|
||||||
|
.replace("\n", " ")
|
||||||
)
|
)
|
||||||
self.cwd = Config.SERVER_PATH
|
self.cwd = Config.SERVER_PATH
|
||||||
self.process: Popen | None = None
|
self.process: Popen | None = None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue