main.py aktualisiert
This commit is contained in:
2
main.py
2
main.py
@@ -347,6 +347,8 @@ async def run_remote_task(ip, user, cmd, task_name):
|
||||
if decoded_line:
|
||||
await manager.broadcast(f"🛠️ {decoded_line}")
|
||||
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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user