mirror of
https://github.com/shareAI-lab/analysis_claude_code.git
synced 2026-05-06 16:26:16 +08:00
Merge pull request #77 from Gujiassh/fix/s-full-follow-up
Fix running background status in s_full
This commit is contained in:
@@ -351,7 +351,7 @@ class BackgroundManager:
|
||||
def check(self, tid: str = None) -> str:
|
||||
if tid:
|
||||
t = self.tasks.get(tid)
|
||||
return f"[{t['status']}] {t.get('result', '(running)')}" if t else f"Unknown: {tid}"
|
||||
return f"[{t['status']}] {t.get('result') or '(running)'}" if t else f"Unknown: {tid}"
|
||||
return "\n".join(f"{k}: [{v['status']}] {v['command'][:60]}" for k, v in self.tasks.items()) or "No bg tasks."
|
||||
|
||||
def drain(self) -> list:
|
||||
|
||||
Reference in New Issue
Block a user