Re: [BUG] Git Bash no longer detaches GUI processes with & in version 2.51.0
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 26, 2025, 10:00 UTC
- Message-ID
- <3dbf6ce2-6aed-8b47-3c8a-ab2844c1dd7f@gmx.de>
- In-Reply-To
- <GVAP278MB0582C91C40BC818FD57C59F6F91EA@GVAP278MB0582.CHEP278.PROD.OUTLOOK.COM>
Hi Tiago,
On Fri, 26 Sep 2025, Tiago Gomes wrote:
Show 8 quoted lines
> What did you do before the bug happened? (Steps to reproduce your issue) > I installed the version Git-2.51.0-64-bit.exe. > > What did you expect to happen? (Expected behavior) > I expected the same behavior as with Git-2.45.2-64-bit.exe. In that version, I could use Git Bash to run Makefile targets that launch GUI applications (like Vivado) using the command chaining or backgrounding operator (&). This allowed the GUI tool to open while the Git Bash console remained responsive. I could continue typing commands even with the GUI still running. > > What happened instead? (Actual behavior) > With version 2.51.0, this behavior no longer works. When a GUI tool is launched using &, the Git Bash console becomes blocked and does not accept further input until the GUI application is closed.
I just tried this:
me@work MINGW64 ~ $ git version git version 2.51.0.windows.1.77.gade1f1c136.20250926063933
me@work MINGW64 ~ $ git gui & [1] 280
me@work MINGW64 ~ $ pwd /c/Users/me
I doubt that the behavior difference is due to the different version (I am using the v2.51.0(2) preview from https://github.com/git-for-windows/git-for-windows-automation/actions/runs/18030062242).
Could you try that preview? You can use the Portable version so that you do not have to "clobber" your existing installation.
Ciao, Johannes