Skip to content

"runme list" acting differently linux vs. windows #952

@agardnerIT

Description

@agardnerIT

I've cloned the same repo to both machines. Folder structure is:

./
./docs
./docs/run-demo.md

Where run-demo.md contains named code blocks (backslashes just to keep GitHub happy):


\``` {"name": "docker ps"}
docker ps
\```

Ubuntu

On ubuntu things work perfectly:

runme list

NAME                       FILE                     FIRST COMMAND                       DESCRIPTION                  NAMED
docker ps*                 docs/run-demo.md         docker ps                                                        Yes
...

Windows

On Windows (tried in both cmd and Git bash):

runme list
could not execute command: no named code blocks, consider adding flag --allow-unnamed 

RunMe Versions

Tried on both:

  • runme version 3.13.2 (7c88a982ad776c2f1651022a23c3839d5b6c742f) on 2025-04-28T17:22:31Z
  • runme version 3.15.4 (6998cc9cd80d61d24d075422b6cde4a9c9ded1d7) on 2025-10-09T19:45:48Z

Edit: Logs

Found something by running runme list --log:

{
  "level":"info",
  "ts":1762840667.2714036,
  "caller":"project/project.go:344",
  "msg":"failed to load global ignore patterns",
  "error":"open C:\\redacted\\path\to\repo\\C:\\Users\\redacted\\.gitconfig: The filename, directory name, or volume label syntax is incorrect."
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions