mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Merge branch 'feature/steamcmd' of gitlab.com:crafty-controller/crafty-4 into feature/steamcmd
This commit is contained in:
commit
e92a88e698
@ -462,12 +462,11 @@ class ServerInstance:
|
|||||||
# ***********************************************
|
# ***********************************************
|
||||||
elif HelperServers.get_server_type_by_id(self.server_id) == "steam":
|
elif HelperServers.get_server_type_by_id(self.server_id) == "steam":
|
||||||
try:
|
try:
|
||||||
self.process = subprocess.call(
|
self.process = subprocess.Popen(
|
||||||
self.server_command,
|
self.server_command,
|
||||||
cwd=self.server_path,
|
cwd=self.server_path,
|
||||||
stdin=subprocess.PIPE,
|
stdin=subprocess.PIPE,
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
bufsize=1,
|
|
||||||
stderr=subprocess.STDOUT,
|
stderr=subprocess.STDOUT,
|
||||||
)
|
)
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
|
Loading…
Reference in New Issue
Block a user