From c6123df4df07cafed919bdc05a6a61ac3df3a5b6 Mon Sep 17 00:00:00 2001 From: Nayan <33187059+GShadow5@users.noreply.github.com> Date: Mon, 25 Aug 2025 22:46:30 -0400 Subject: [PATCH] switch to tee to see ouput on screen --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index d25acca..046d0a7 100644 --- a/bot.py +++ b/bot.py @@ -362,7 +362,7 @@ async def startserver(ctx, *args): screen_cmd = ( f"cd {path} && " - f"screen -dmS {servername} bash -c \"{server['startcommand']} > {pipe_path}\"" + f"screen -dmS {servername} bash -c \"{server['startcommand']} | tee {pipe_path}\"" ) #command = f"cd {path} && screen -dmS {servername} {server['startcommand']}"