Skip to content

dsh-win32 v0.6.0

Choose a tag to compare

@sjh9714 sjh9714 released this 15 Aug 14:41
· 5 commits to master since this release

Community-review release. Both issues came from an independent win32 plugin author who measured before filing (thank you @hili986).

#8, inspector cost. isAlive ran a full CIM enumeration (~904ms measured on a busy box) per member per 25ms poll tick during terminate, consuming the entire grace period at 4+ descendants and force-killing cleanly-exiting processes. Now kill(pid, 0) short-circuits dead pids (~0.002ms), the snapshot is TTL-cached at 200ms, and the CIM query materialises only the three needed properties. Identity-based pid-recycle protection unchanged.

#7, the wrapper trap. setup now selects Git\usr\bin\bash.exe (the real shell) over Git\bin\bash.exe (a 47KB wrapper that respawns it), removing a latent SIGKILL-guard bypass and one process layer. The adoption doc's impact assessment for the foreground degradation was corrected since it undersold the loss. The ConPTY console-list mapping is the tracked follow-up, with a PR invited from the reporter.

29 unit tests, full matrix green.