Conemu: Duplicate tab and terminate all but shell not working as expected

Created on 4 Jul 2016  路  7Comments  路  Source: Maximus5/ConEmu

Versions

ConEmu build: 160619 x64
OS version: Windows 10 x64
Used shell version: git-bash

Problem description

  • Duplicate tab with current state of root process does not preserve current directory.
  • Terminate (kill) all but shell processes in the current console closes all process, including bash

I tried uninstalling and reinstalling again, and reseting my configuration to defaults. Bash::Git bash task is configured as it comes by default:

"%ConEmuDir%\..\Git\git-cmd.exe" --no-cd --command=usr/bin/bash.exe -l -i

And marked as the default task for new console and default shell. Startup is configured as starting the Bash::Git bash task.

It worked OK before updating to this version of ConEmu.

Any configuration I could be having to experience this behavior?

other-cygwimsys

Most helpful comment

Ok, worked by changing the task to run:
"%ConEmuDir%\..\Git\usr\bin\bash.exe" -l -i

Instead of the default:
"%ConEmuDir%\..\Git\git-cmd.exe" --no-cd --command=usr/bin/bash.exe -l -i

I guess with the default ConEmu thinks git-cmd is the root process and therefore closes bash?

All 7 comments

It worked OK before updating to this version of ConEmu

From what version you have updated it?

Why do you think it's a ConEmu problem, but not a git-for-windows issue?

I never considered it could be an issue with git-for-windows.

I didn't found the issue reported here, but there's one on https://github.com/cmderdev/cmder/issues/886 ,and as it says, mine also works OK while using cmd, so, yes, it seems it might be an issue specific of using git-bash. And, I also updated git-bash, so I guess it's the same problem.

Regrettably, I don't know which was my previous version. I have updates enabled and usually update as soon as I'm notified of a new version.

Ok, worked by changing the task to run:
"%ConEmuDir%\..\Git\usr\bin\bash.exe" -l -i

Instead of the default:
"%ConEmuDir%\..\Git\git-cmd.exe" --no-cd --command=usr/bin/bash.exe -l -i

I guess with the default ConEmu thinks git-cmd is the root process and therefore closes bash?

Yes. But this has to be fixed.

What about duplicate tab for mintty? It does not work for me.

@sasos90 ChildGui has limited functionality. RTFM.

Was this page helpful?
0 / 5 - 0 ratings