Skip to content

Associate with .sh files no longer works properly #396

Closed
@b9chris

Description

@b9chris

We've updated from msysgit/Git for Windows 32-bit to 64-bit on 3 machines now. We're late to switch so 2.5.2.2 is our first 64-bit version. Beforehand we had the .sh file associate working properly - double-click a .sh file, runs in Git Bash.

Now, there is a .sh association in the Registry, but what it fires off fails. Double-clicking a .sh file, you simply see a command prompt window flash. Nothing more occurs and the script does not run.

The .sh extension points to the sh_auto_file file type in HKEY_CLASSES_ROOT. That then holds the command,

"(msysgit)\git-bash.exe" --no-cd "%L" %*

Where (msysgit) is the Msysgit install path. It would seem there's something wrong with this command.

We can however run these same .sh scripts by typing them out - for example open Git Bash from the context menu and type ./scriptname.sh - runs fine.

Because we're late to switch it isn't clear when exactly this regression occurred.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions