<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins/security-guidance/tests/test_launcher_process_count.py, branch bump/cloud-sql-sqlserver</title>
<subtitle>Official Claude Code plugin directory
</subtitle>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/'/>
<entry>
<title>security-guidance: start fewer processes in the hook launcher</title>
<updated>2026-10-15T22:39:39+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-12T19:42:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=cae27dda6824b4861e305c3a145e22379fd837ed'/>
<id>cae27dda6824b4861e305c3a145e22379fd837ed</id>
<content type='text'>
sg-python.sh runs on every hook, and under Git Bash each command
substitution is a new Windows process, whether or not the interpreter it
probes exists (#6470). On a machine with only `python` it started 13
processes before the hook; it now starts 1.

- Skip interpreter names that are not on PATH (a builtin lookup) before
  probing them.
- The probe execs the interpreter in its subshell instead of forking
  again from it.
- Remember the first Python below 3.10 seen in pass 2 instead of probing
  the same names a second time in pass 3.
- Convert drive paths (/c/Users/...) to Windows form in-shell under Git
  Bash / MSYS2; mount points and Cygwin still go through cygpath.

Interpreter order and the choice made are unchanged.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sg-python.sh runs on every hook, and under Git Bash each command
substitution is a new Windows process, whether or not the interpreter it
probes exists (#6470). On a machine with only `python` it started 13
processes before the hook; it now starts 1.

- Skip interpreter names that are not on PATH (a builtin lookup) before
  probing them.
- The probe execs the interpreter in its subshell instead of forking
  again from it.
- Remember the first Python below 3.10 seen in pass 2 instead of probing
  the same names a second time in pass 3.
- Convert drive paths (/c/Users/...) to Windows form in-shell under Git
  Bash / MSYS2; mount points and Cygwin still go through cygpath.

Interpreter order and the choice made are unchanged.
</pre>
</div>
</content>
</entry>
</feed>
