main.py aktualisiert

This commit is contained in:
2026-03-05 14:39:30 +00:00
parent f9a13a2c38
commit 20c85103a9

View File

@@ -347,6 +347,8 @@ async def run_remote_task(ip, user, cmd, task_name):
if decoded_line: if decoded_line:
await manager.broadcast(f"🛠️ {decoded_line}") await manager.broadcast(f"🛠️ {decoded_line}")
full_output += decoded_line + "\n" full_output += decoded_line + "\n"
# Gib dem Event-Loop kurz Zeit, andere Tasks (wie WebSockets) zu bedienen
await asyncio.sleep(0.001)
await process.wait() await process.wait()