Handle OSError from subprocess when filesystem I/O fails #4

Merged
JMR-dev merged 1 commits from claude/fix-package-install-errors-A2rBu into main 2026-05-18 17:28:39 +00:00
1 Commits
Author SHA1 Message Date
Claude 112b0005e4 Handle OSError from subprocess when filesystem I/O fails
When the system has disk I/O errors (errno 5), subprocess.run raises
OSError before a process can even start. The run() and shell() helpers
now catch OSError: if check=False the error is logged as a warning and
a returncode=1 CompletedProcess is returned so callers like
install_system_packages can continue; if check=True the error is
re-raised as before.

https://claude.ai/code/session_01Gsfw2QLhQiFVEvZQC5nVcU
2026-05-18 17:26:52 +00:00