Files
hermes-agent/pm
BearHuddleston 322b801d33 fix(pm): wait out a scanner hold when Python.stage drops the ARM64 x64 CRT helper
On win32-arm64, Python.stage deletes the x64 vcruntime140_1.dll that
python-build-standalone ships beside ARM64 python.exe. The tree was
extracted and hoisted moments earlier, so a Windows antivirus or indexer
scan can still hold the file; the delete is then refused for a moment
([WinError 32], EACCES) and the single-shot unlink failed the install.

Run it through retry_held, as #153075 did for the same DLL in
_unpack_vc_runtime, so both ARM64 CRT drops ride out the hold. A hold
that never clears still raises PermissionError.

Suggested by @kshitijk4poor in his review of #153075.
2026-11-11 03:08:51 -06:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…