Merge branch 'feature/steamcmd' of gitlab.com:crafty-controller/crafty-4 into feature/steamcmd

This commit is contained in:
Zedifus 2023-04-15 01:20:22 +01:00
commit e92a88e698

View File

@ -462,12 +462,11 @@ class ServerInstance:
# ***********************************************
elif HelperServers.get_server_type_by_id(self.server_id) == "steam":
try:
self.process = subprocess.call(
self.process = subprocess.Popen(
self.server_command,
cwd=self.server_path,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
bufsize=1,
stderr=subprocess.STDOUT,
)
except Exception as ex: