I’m trying to nail down the issue and bash quit without any message while loading the bash.bashrc file in /etc The offending line is 57 "$(declare -p PS1 2>/dev/null)” If I comment the related line and leave just export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[35m\]$MSYSTEM\[\e[0m\] \[\e[33m\]\w\[\e[0m\]\n'"${_ps1_symbol}"’ ' Bash continues but then crash loading /etc/profile.d/git-prompt.sh Then the offending line is 22 GIT_EXEC_PATH="$(git --exec-path 2>/dev/null)” So I tried to run a simple: VARIABLE=$(ls -al) And guess what? bash crashed without any message So it seems like any $(command) occurrence is crashing bash Hope this could help to solve the issue, but the main question is: Am I the only one with this issue? Could it depend on some local configuration? > Il giorno 18 lug 2025, alle ore 00:44, Fabio Frumento <frumento.fabio@xxxxxxxxx> ha scritto: > > Hi Johannes, > > Ok seems the issue is with bash.exe, if run with —norc option it start and I can use bash, sadly git-bash start it with —login -I -v so no way to have git-bahs running > > I’ve recorded the screen and captured the cmd window during startup (it immediately close, just a frame) hope this could be of any help > > CIao > > Fabio > > <Screenshot 2025-07-18 alle 00.41.04.png> >> Il giorno 18 lug 2025, alle ore 00:24, Fabio Frumento <frumento.fabio@xxxxxxxxx> ha scritto: >> >> Hi Johannes, >> >> Thanks for the suggestion >> >> Yes already tested, same problem >> >> When launched by double-click or invoked in a CMD or powershell the usual black windows quickly popup and then close >> >> In cmd no error message is written, it simply open and immediately close >> >> Other tools like git-gui and git itself seems to work, it’s just git-bash not working >> >> Kind regards >> >> Fabio >> >>> Il giorno 17 lug 2025, alle ore 19:27, Johannes Schindelin <Johannes.Schindelin@xxxxxx> ha scritto: >>> >>> Hi Fabio, >>> >>> On Thu, 17 Jul 2025, Johannes Schindelin wrote: >>> >>>> On Mon, 7 Jul 2025, Fabio Frumento wrote: >>>> >>>>> After upgrading from 2.49 to 2.50 git bash won’t start anymore, a prompt >>>>> window shortly appears and close immediately, downgrading to 2.49 solve >>>>> the issue >>>>> >>>>> So 2.50 don’t work on windows 11 Pro >>>> >>>> Maybe v2.50.1 does? >>>> >>>> If not, please run `& "C:\Program Files\Git\bin\bash.exe" -li` and see >>> >>> I meant to add "in a PowerShell session" here, but forgot... >>> >>> Sorry about that, >>> Johannes >>> >>>> whether that reproduces the error (in which case the terminal window won't >>>> close immediately, giving you ample time to copy/paste the error message). >>>> >>>> Ciao, >>>> Johannes >> >> >