-
Notifications
You must be signed in to change notification settings - Fork 40
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
linux - "subl -w" as git editor - Failed to receive exit code from application on "ctrl+q" #6502
Comments
Do you see any errors in the console (View > Show Console)? What version is the command line tool ( |
No errors in console.
Actually testing also with
as git editor - same behavior.
|
By the way same behavior is when using it as EDITOR linux (e.g. for kubectl edit) and it is regression from last 3.x Sublime, where it works just fine (3211 I believe).
|
I think it behaves the same way here, closing ST with alt+f4 works though (which I think I always do). ("native" Kubuntu 24.04) |
To clarify: Are you using ubuntu 22.04 directly or under WSL2 with a Windows X Server? |
Both. It happens both in WSL2 (Ubuntu 22.04 under WSL2) and in native Linux Ubuntu 22.04.5 (my second machine). |
Description of the bug
Sublime text fails to provide exit code to git when used as editor (subl -w) on exit (ctrl+q).
Steps to reproduce
preconditions:
sublime-text 4180, installed from https://www.sublimetext.com/docs/linux_repositories.html#apt
clean install, no plugins, started in safe mode
git 2.34.1
git config --global core.editor "subl -w"
... edit in sublime, save (ctrl+s), quit (ctrl+q)
result:
If I close with ctrl+w, then quit with ctrl+q, it works just fine.
Expected result:
return code 0 is provided to git, files are committed
Actual result:
Expected behavior
return code 0 is provided to git, files are committed
Actual behavior
Sublime text fails to provide exit code to the application (or exits with code <> 0).
Sublime Text build number
4180
Operating system & version
Ubuntu 22.04.5
(Linux) Desktop environment and/or window manager
i3, WSL2, gnome ... all affected
Additional information
No response
OpenGL context information
No response
The text was updated successfully, but these errors were encountered: