Skip to content

Needs some tweaks for Windows ? #2

Description

@The1nk

Problem

Doesn't really work on Windows, by default.

Suspected cause

Differences in stdin behavior.

Workaround

Had Claude troubleshoot, and modify timecode.sh line 3 to:
INPUT=$(cat)

Also needed to prefix the commands in ~/.claude/settings.json with bash, like so:
from
"SessionStart": [ { "hooks": [ { "type": "command", "command": "~/.claude/timecode.sh" } ] } ],
to
"SessionStart": [ { "hooks": [ { "type": "command", "command": "bash ~/.claude/timecode.sh" } ] } ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions