Changed ProcessController to handle Server as child subprocess

This commit is contained in:
Malasaur 2025-12-01 22:43:15 +01:00
parent 9742cafad9
commit a008bc27fa
No known key found for this signature in database
5 changed files with 52 additions and 53 deletions

View file

@ -1,6 +1,13 @@
from enum import Enum
from typing import NotRequired, TypedDict
class ProcessStatus(Enum):
RUNNING = None
STOPPED = 0
CRASHED = 1
class ServerPlayersList(TypedDict):
online: int
max: int