-
-
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
windows cmd gvim.exe shim waits for subprocess #2006
Comments
This is because of #1606: the shim executable is a console app and waits for the windowed app it calls to exit before returning. I'd like to see it fixed too and maybe I'll look at it next. However even if that were fixed, there's still a problem with Vim. The Windows gvim.exe file doesn't support the As I understand it, with the normal Vim installation, it's recommended to use the We can create this file in put it in the app dir during the installation, and shim |
if it work's I'll be happy, but is there a benefit of having an Thanks for looking into it! |
Yeah as it turns out, the shim is actually a That leaves nothing for bash, but that's a problem for another day... Have tested it: |
very neat. is there a way for me to test it as well? (really I'm just curious how I would test making a package myself) |
For creating/testing your own packages, others might say to create your own bucket, though I prefer to create them directly in the working copies (installations) of the To pull the changes from this PR into your own scoop installation, go the
This pulls the change into a
If that doesn't work for you, you can just copy the raw contents of the updated vim.json and paste it into (Oh, I nearly forgot, I've been assuming all along you're using the You can make any changes you like to the scoop source or app manifests in the If you really mess up in either repo then |
You guys could just:
|
I forgot you could install from an url :) The reason I don't use that though, while it's good for a quick test, is that you don't get further updates for that app. You have to remember to uninstall it and then re-install from the main bucket again after the PR has been merged. |
thanks for the tips, very helpful! I realize some of that is fairly well documented, except if there is a way to have scoop Anyway, your changes worked great for me. I look forward to them being merged :-) |
Yeah the scoop repo isn't a bucket, and the main bucket isn't a repo (it's in the /bucket folder of the scoop repo), so that won't work I think. I don't think there's a way to have scoop reset itself, but the git command should work fine. |
This issue should be fixed in #3998, which was merged into master. To use, type:
or
Eventually, one of those shims (probably kiennq) will be made the default. If this issue is still a problem after trying both solutions above, please reopen this issue. Thanks! |
I am using scoop in a windows cmd (perhaps why i am the only person seeing this). The
gvim.exe
shim waits for the subprocess to terminate, and this is not desirable. Thegvim.ps1
shim works just fine: runninggvim
opens a new windows and a new prompt is available.I'm not sure how the
gvim.exe
shim is created but it would be nice if it did something equivalent tostart / b ..\path\to\current\gvim.exe $*
.I'm happy to provide any additional information, though I'm not sure what may be needed or how to get it ;-). I'm sure there is a way to make
.ps1
files executable from windows cmd, but regardlessgvim.exe
from powershell exhibits the same undesired behavior.The text was updated successfully, but these errors were encountered: