Executable name is case sensitive when calling -> unknown program

Open
#52 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
54/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

Reproduce the issue on Windows by invoking false.exe and False.exe from the coreutils bin directory, then trace the executable-name handling for the unknown-program path. Done means executable lookup accepts case variations consistently for the tested coreutils programs and the reported unknown-program message no longer appears.

Written by the indexing model from the issue text.

Description

Calling C:\Program Files\coreutils\bin\false.exe works.
Calling C:\Program Files\coreutils\bin\False.exe results in:
coreutils: unknown program 'False'

The same is true for all other tested executables.

Noticed this, because my windows terminal profile calls clink inject ... which in turn somewhere calls False which then resulted in this message.

My current workaround is to put "C:\Program Files\coreutils\bin" after "..\Git\usr\bin" in the search path which contains a working false.exe, but my goal is to get rid of the git bin folder from the searchpath at some point.

Dominant language
Rust
Stars
5.2k
Forks
107
Avg merge
2d 19h
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/coreutils

All issues in microsoft/coreutils

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.