Skip to content
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

Handle Control-C in shim wrapper #1896

Closed
dimdimych opened this issue Dec 8, 2017 · 2 comments
Closed

Handle Control-C in shim wrapper #1896

dimdimych opened this issue Dec 8, 2017 · 2 comments

Comments

@dimdimych
Copy link

When user hits Ctrl-C in cmd.exe session when running a program wrapped by Shim.exe, terminal session gets corrupted (hard to describe, command prompt is displayed but no commands can be started, Far Manager stops to respond, etc). The process started by Shim is not terminated

@kroppt
Copy link

kroppt commented Jul 14, 2019

Is this still a problem? I tried replicating using tail -f on a file, but it closed like it was supposed to.
I opened up cmd.exe, navigated to shim directory, ran .\tail.exe -f C:\Users\User\test.txt, and pressed Ctrl+C. The process (both) was killed.

@rasa
Copy link
Member

rasa commented Dec 23, 2020

This issue should be fixed in #3998, which was merged into master. To use, type:

scoop config shim kiennq
scoop reset *

or

scoop config shim 71
scoop reset *

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants