diff options
| author | Claude <noreply@anthropic.com> | 2026-11-19 19:33:41 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-11-19 19:34:17 +0000 |
| commit | 4fa3475d3a7f58ffe75930c6aa8ae56e80496447 (patch) | |
| tree | a69575a4cb65dd84cc77030a7a862d04ad58bf20 /plugins/code-modernization/scripts/telemetry.py | |
| parent | df9699a55c56707e9948a32951ea356638ea8519 (diff) | |
security-guidance: keep the interpreter check working through a .bat shimmhegazy/sg-pyenv-win-probe
pyenv-win's python names end in a batch file. In its released version
(3.1.1) cmd.exe read the ">=" in the check as a redirect: every hook left
an empty "(3" file in the project, and the interpreter was rejected. With
no other Python no hook ran.
The check now uses only characters that arrive unchanged. On Windows a
name that loses the argument counts as unable to read the hook script, so
the launcher goes on to its real interpreter.
See #7172.
Co-authored-by: mhegazy <mhegazy@anthropic.com>
Diffstat (limited to 'plugins/code-modernization/scripts/telemetry.py')
0 files changed, 0 insertions, 0 deletions
