This commit is contained in:
faroukbmiled 2023-07-31 21:52:22 +01:00
parent f9407f9e41
commit 9c5a08a572

View File

@ -58,7 +58,17 @@ def create_default_config():
def run_steamcmd_command(command):
steamcmd_path = get_steamcmd_path()
process = subprocess.Popen([steamcmd_path + "\steamcmd.exe"] + command.split(), stdout=subprocess.PIPE, stderr=subprocess.STDOUT, text=True, bufsize=1, universal_newlines=True)
process = subprocess.Popen(
[steamcmd_path + "\steamcmd.exe"] + command.split(),
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
text=True,
bufsize=1,
universal_newlines=True,
creationflags=subprocess.CREATE_NO_WINDOW
)
global steampid
steampid = process.pid