Open trajano opened 4 years ago
What do you mean by "no longer functions"? I can launch it through the shim without a problem here.
When I type gitk
from the command line it does not show the gitk
window
This is with 1.2 release
@71 were you able to replicate the bug?
I am using https://github.com/71/scoop-better-shimexe/releases/download/1.2/shim.exe and gitk works just fine from the command line on:
OS Name: Microsoft Windows 10 Pro for Workstations
OS Version: 10.0.18362 N/A Build 18362
System Type: x64-based PC
Hotfix(s): 4 Hotfix(s) Installed.
[01]: KB4506991
[02]: KB4503308
[03]: KB4509096
[04]: KB4507453
I'm on
C:\Users\trajano>ver
Microsoft Windows [Version 10.0.18947.1000]
I am running from "Windows Terminal"
Works for me with cmd.exe and under Windows Terminal (Preview) Version: 0.4.2382.0
No one is able to repro for now so I doubt I can help. I'll take a look at it eventually, but I am extremely busy these days, so please don't expect a fix soon.
In any case, are you sure you used the right shim? Maybe you're still using the old one (you can compare their size to make sure you're using the latest version). Are you sure nothing else may cause it to crash? Does it work fine when invoked directly without the shim?
PS: Thanks for your help, @rasa. And thanks for finding all the bugs, @trajano! :p
Maybe it's just something on my setup. Hopefully no one else hits it.
@trajano Your build, 10.0.18947.1000, is a 20_H1 prerelease. See https://msbuilds.rg-adguard.net/.
Can you try a released version?
Just closing this for now it could be because I am on insider builds
Hmm found a laptop running the current release version of Windows 10 and I am getting the behaviour where gitk does not open up. I ran from Cmder and CMD using the 1.2 shim
Microsoft Windows [Version 10.0.18362.356]
$ which gitk
/c/Users/trajano/scoop/shims/gitk
Another app that does not work for me with the new shims is dot
from graphviz
. It is supposed to be a console mode application, but with the new shim it just goes back to the command prompt after starting.
Thanks for the other program, I'll check it out. I'm still busy though, so I doubt I'll come up with a fix soon.
Edit: I'm still unable to repro with dot
. It works fine as a command line utility on my end.
@71 thanks not really sure why afaik I am using your 1.2 shim. However, no one else has been reporting any issues so maybe it will get merged soon. I am sort of thinking it's a PATH issue.
I also notice this issue but somehow solved by just adding a character to the path.
path = C:\path_to_git\git.exe # => doesn't work :(
path = C:\path_to_git\\git.exe # => works by adding a slash.
path = C:\\path_to_git\git.exe # => works by adding a slash.
path = C:\path_to_git\git.exe<space> # => works by adding a trailing space.
path = "C:\path_to_git\git.exe" # => works by quoting the path.
path = "C:\path_to_git\git.exe # => works even no ending quote.
I reshimmed and found out that
gitk
no longer functions with the new shim. Reverting back to the original shims brought the functionality back.