git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[BUG] Git Bash no longer detaches GUI processes with & in version 2.51.0

From
TGTiago Gomes <tiago.gomes@enclustra.com>
Date
Sep 26, 2025, 08:46 UTC
Message-ID
<GVAP278MB0582C91C40BC818FD57C59F6F91EA@GVAP278MB0582.CHEP278.PROD.OUTLOOK.COM>

Thank you for filling out a Git bug report! Please answer the following questions to help us understand your issue.

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.

What's different between what you expected and what actually happened? Previously, using & to launch a GUI application would detach it from the shell, allowing the console to remain interactive. In Git 2.51.0, the shell remains blocked until the GUI process exits, which breaks workflows that rely on non-blocking GUI launches.

Anything else you want to add:

Please review the rest of the bug report below. You can delete any lines you don't wish to share.

[System Info] git version: git version 2.45.2.windows.1 cpu: x86_64 built from commit: 91d03cb2e4fbf6ad961ace739b8a646868cb154d sizeof-long: 4 sizeof-size_t: 8 shell-path: /bin/sh feature: fsmonitor--daemon uname: Windows 10.0 19045 compiler info: gnuc: 14.1 libc info: no libc information available $SHELL (typically, interactive shell): C:\Program Files\Git\usr\bin\bash.exe

[Enabled Hooks] This email and any attachments are intended for the sole use of the named recipient(s) and contain confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, please notify the sender immediately and destroy all copies. This email including its attachments does not constitute a binding offer and any prices and dates stated in this email are non-binding indications.

Next: Johannes Schindelin
Message 1 of 3 in “[BUG] Git Bash no longer detaches GUI processes with & in version 2.51.0”
  1. Tiago GomesSep 26, 2025
  2. Johannes SchindelinSep 26, 2025
  3. Tiago GomesSep 26, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.