-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Ctrl-C closes the console #192
Comments
Is this not a ConsoleZ issue? |
It may be that whatever changed triggers this issue in ConsoleZ. I'm not really sure except that this setup did work in the past. |
The change you are referring to is most likely that we provide @kjeremy it would be good if you could try to patch Git accordingly (see https://github.com/git-for-windows/git/wiki/Package-management#build-packages-from-locally-patched-sources for details). |
Relate to #181? |
Well, something is different. I have been catching SIGINT event in Node.js context. It is ignored if I execute the app in git-bash context, Sadly, I cannot reproduce it with a test case. P.S.: Maybe I got something. You should notice a difference executing this snippet using
After starting the command, press Ctrl-C. |
Looks like PR #205 will fix this. |
Presently, when you press CTRL-C, git-cmd is terminated. ConsoleZ launches git-cmd, inject a dll in git-cmd to read the console buffer and interact with this process and monitors the termination of git-cmd. |
@cbucher Which version of Git for Windows do you use? I can't reproduce the behavior. Ctrl-C in git-cmd.exe just brings up a new prompt. |
v2.4.3.windows.1 |
@calle2010 I believe he means For reference, let me copy-paste my summary from issue #96:
|
Let's continue the discussion in #205. |
In trying to use git through ConsoleZ I invoke it with the following command:
PathToGit\Git\git-cmd.exe --command=PathToGit\Git\usr\bin\bash.exe --login -i
Hitting CTRL-C closes the console, not the current executing program. This is a regression from the git-1.9.5-preview release.
The text was updated successfully, but these errors were encountered: