mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-05 00:03:15 +01:00
windows-free-tests (run 37739845723) showed every PowerShell-tool case
falling through: Python's text-mode stdout on Windows wrote tool_name as
"PowerShell\r", so dispatch never matched, and freeze denials carried
stray CRs. gstack_hook_extract_tool now reads and writes bytes.
hook-extract.sh also located gstack-state-root.sh with ${BASH_SOURCE%/*},
which strips nothing when the file is sourced through a C:\... path, so
gstack_hook_state_root vanished (state-root parity case on the same run).
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>