Changed ProcessController to handle Server as child subprocess
This commit is contained in:
parent
9742cafad9
commit
a008bc27fa
5 changed files with 52 additions and 53 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue