-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
putty shims open a blank window #2801
Comments
Can you test if this shim replacement fixes this issue: https://github.com/71/scoop-better-shimexe ? |
@rasa how? (I can't find instructions on how to do this yet, I just took some educated guesses) |
wget https://github.com/71/scoop-better-shimexe/releases/download/1.0/shim.exe
wget https://raw.githubusercontent.com/71/scoop-better-shimexe/master/repshims.bat
call repshims.bat |
Its actually worse in a way. Closing the shim also closes putty. Looking at the code, it does not do any check whether it is a windowed app that it is running or not. However, I think it would be cleaner to just add symlinks instead of shims. But I am not sure why that was not used, there may be a technical reason I don't know yet. |
Shims can also pass some arguments to the (We could use symlinks in most cases and shims in the few others, but I didn't design the shims so I might be missing details as to why this design was chosen instead). |
See ScoopInstaller/Scoop#1606 (comment) Thanks for testing the C-based shim. I’m sorry it didn’t solve the issue. |
Good news on from https://github.com/71/scoop-better-shimexe it handles this situation correctly now. Perhaps we should switch the shims to use this better exe. The only thing I would recommend to change is to use symlinks to the shim so we do not waste drive space for the duplicate shim-exes |
This issue should be fixed in ScoopInstaller/Scoop#3998, which was merged into master. To use, type:
or
Eventually, one of those shims (probably kiennq) we be made the default. If this issue is still a problem after trying both solutions above, please reopen this issue. Thanks! |
When running putty from the Win-R dialog it starts up the shim which in turn opens up a Window that does not close.
I tried simply removing the "putty.exe" from the "bin" list but that made it so that I can't start "putty.exe" by typing it on the command line.
I was wondering if instead of a "shim" it creates a link to the binary. But I can't find an option to do that.
The text was updated successfully, but these errors were encountered: