-
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 never terminates Jupyter Lab running on Git Bash. #2471
Comments
Does this need the See release notes (~C:\Program Files\Git\ReleaseNotes.html) Just a wild stab in the dark, but worth checking. |
@PhilipOakley Tried it, but no luck. Can't even run the code properly. Of course, I have added poetry to my PATH. (Otherwise, it wouldn't have been called in the second prompt)
Funny thing is that it terminates as expected on VSCode bash terminal. VSCode terminal is supposed to be the same Git for Windows Bash, right? It's confusing. |
The Ctrl+C handling is not the responsibility of the Bash, but of the terminal in which you run it. And VS Code seems to make use of the relatively new PTYs while MinTTY (which operates the terminal window used by Git Bash by default) does not (yet). |
@dscho Didn't know that. For the time being, I'm running things on VSCode Bash as much as possible to avoid this situation. However, I hope this gets resolved in later versions. |
Well, this is Open Source, baby. If you don't care enough to fix this, you will need to very lucky for another volunteer to care enough. On the other hand, I understand a lot about this issue, as it has come up before, and is essentially hard to solve.
It is a bug. But if nobody works on it, we should close it. Let's give it a few weeks? |
@dscho Thanks for the heads-up. I hope I could fix it but I'm not guru enough and the only language I know is Python - when non-Python languages take up about 98% of the code. |
Nah. It's only in the way, nobody will pick it up. |
#1470 Seems like a similar problem but it was closed due to inactivity, not by a solution/fix.
Setup
Windows 10 pro, 64bit.
defaults?
to the issue you're seeing?
I'm running
jupyter lab
on top ofpoetry
virtual environment. I'm doing all that in Git Bash.Also, I just updated Git for Windows.
Details
Git Bash for Windows
Minimal, Complete, and Verifiable example
this will help us understand the issue.
$ jupyter lab
(More specifically,
$ poetry run jupyter lab
but I don't think this makes any significant difference.)Then it will run Jupyter Lab instance that keeps running on the terminal until it gets killed, like this:
I expected it to terminate with
ctrl+c
but it never did. Actually, nothing did. IT'S IMMORTAL.It just goes on. It does terminate normally on Powershell, cmd, Anaconda prompt, etc with ctrl+c
URL to that repository to help us with testing?
Not a specific repo. I suspect it happens with most of the process running in the bash since I can search many cases reporting the similar issue.
Since the prompt is gone whilte the process runs, I can't kill it with a command in the same terminal.
The text was updated successfully, but these errors were encountered: