[Bug] Statusline command not executed on Windows in v2.1.71
Bug Description
Feedback: Statusline Regression on Windows
Date: 2026-03-07 (土)
---
English (HaiRai applied)
Title: Statusline regression on Windows: worked in v2.1.45, broken in v2.1.71
The custom-statusline Feature (configured via statusline in ~/.claude/settings.json) was working correctly on Windows in CLI v2.1.45 (confirmed on 2026-02-18), but is no longer executed in v2.1.71.
Environment:
- Windows 11 Home (Build 26200)
- Claude Code v2.1.71
- Configuration:
"statusline": "node C:\\Users\\kenji\\.claude\\statusline.js"in~/.claude/settings.json
Evidence of prior-Functionality:
- The script writes a debug-File (
statusline-debug.json) on each invocation. - The most-recent debug-File is dated 2026-02-18 (v2.1.45), confirming the script was called and produced correct-Output at that time.
- No debug-File has been generated since, indicating the script is never invoked in v2.1.71.
Expected-Behavior: The CLI should invoke the configured statusline-Command periodically and display its output, as it did in v2.1.45.
Actual-Behavior: The statusline-Command is never executed. No output is displayed.
This appears to be a regression introduced during the transition to the Windows native-Binary. Related: #27161, #17020, #13517.
……………………………………………………………
“Our-actions-today will-brighten world-tomorrow.”
Gles (Kenji Masuda)
■ Tsui-net: https://x.com/____natu______
■ GitHub: https://github.com/natu123
■ LinkedIn: https://www.linkedin.com/in/kenjimasuda
■ 1-mail: key.to.ai.pro@gmail.com
■ 2-mail: natu.soral.123@gmail.com
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.71
- Feedback ID: 3dfeb66e-7f00-48f0-b030-a6a6cde174c6
Errors
[{"error":"AbortError: The operation was aborted.\n at unknown\n at abortChildProcess (node:child_process:947:42)\n at onAbortListener2 (node:child_process:35:24)","timestamp":"2026-03-07T01:50:41.199Z"},{"error":"Error: ripgrep exited with code null\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:104:18039)\n at emit (node:events:98:22)\n at #maybeClose (node:child_process:778:16)\n at #handleOnExit (node:child_process:532:72)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-07T01:50:42.083Z"}]This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗