Don't let the screenshot copy inherit stdin either

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
saphidandClaude Opus 5.5 committed 2026-09-26 14:22:58 +10:00
1 parent 03729ce950
commit 8a90e3e34f
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -249,7 +249,7 @@ def save_shots(body):
try:
try:
r = subprocess.run(["scp", "-p", *SSH[1:], *(f"{FRAME}:{p}" for p in todo), str(incoming)],
capture_output=True, text=True, timeout=300)
capture_output=True, stdin=subprocess.DEVNULL, text=True, timeout=300)
except subprocess.TimeoutExpired:
raise Failure("Copying screenshots timed out")
if r.returncode != 0: