Is your feature request related to a problem? Please describe.
Let's say we're on windows, in any terminal we can use npm to run it, not npm.CMD, just plain npm. In NuShell, which npm will find the correct file, however running npm will result in an error : file not found. (os error 2). Using npm.cmd will run the program just fine.
Describe the solution you'd like
I'd like to be able to run programs (such as npm) that are available in PATH that have fairly executable-like extensions (e.g. .cmd on windows).
Describe alternatives you've considered
I can't think of any alternative solution.
Additional context
This is a problem encountered mostly with installed binaries (or executable scripts) from any package manager.
Note that on Windows the PATHEXT environment variable lists the extensive list of file extensions in search order.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Let's say we're on windows, in any terminal we can use
npmto run it, notnpm.CMD, just plainnpm. In NuShell,which npmwill find the correct file, however runningnpmwill result in an error :file not found. (os error 2). Usingnpm.cmdwill run the program just fine.Describe the solution you'd like
I'd like to be able to run programs (such as npm) that are available in
PATHthat have fairly executable-like extensions (e.g..cmdon windows).Describe alternatives you've considered
I can't think of any alternative solution.
Additional context
This is a problem encountered mostly with installed binaries (or executable scripts) from any package manager.
Note that on Windows the
PATHEXTenvironment variable lists the extensive list of file extensions in search order.The text was updated successfully, but these errors were encountered: