Skip to content
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

Cmder : "wslbridge error: failed to start backend process" #46

Open
AurelienCordonnier opened this issue Dec 13, 2019 · 5 comments
Open

Comments

@AurelienCordonnier
Copy link

AurelienCordonnier commented Dec 13, 2019

Hello, when I start a WSL bash terminal on Cmder or with ConEmu64.exe -basic -run {bash}, I have

wslbridge error: failed to start backend process
note: backend error output: -v: -c: line 0: unexpected EOF while looking for matching `''
-v: -c: line 1: syntax error: unexpected end of file


ConEmuC: Root process was alive less than 10 sec, ExitCode=0.
Press Enter or Esc to close console...

But the standard console (Debian in my case) works...

Do you have an idea to solve this problem?

@dcole2929
Copy link

dcole2929 commented Dec 17, 2019

I have the same issue, specifically with WSL2. Looks like there was some discussion on this months ago here Maximus5/ConEmu#1930 but doesn't appear to be a clear cut resolution

@AurelienCordonnier
Copy link
Author

AurelienCordonnier commented Dec 17, 2019

In agreement with @LesterCovax in Maximus5/ConEmu#1930, edit the task definition by replacing %ConEmuBaseDirShort%\conemu-cyg-64.exe by wsl.exe in Cmder Settings/Startup/Tasks works fine. Probably that don't realy solve the "wslbridge error" encountered directly, but that gives an answer. I don't know if it is the same result as well...

I have to mention that works also with debian.exe and I think it will be the same for other distributions.

@aymond
Copy link

aymond commented Feb 2, 2020

Thanks @AurelienCordonnier - I am running WSL2 Ubuntu with ZSH. Updating the command to set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & wsl.exe worked for me.

@mavaddat
Copy link

For recent changes in WSL, particularly WSL mode V2, the new gateway wslbridge2 should be used instead. Many thanks for this further development and maintenance go to Biswapriyo Nath.

@ElizaZadura
Copy link

Thanks @AurelienCordonnier - I am running WSL2 Ubuntu with ZSH. Updating the command to set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & wsl.exe worked for me.

Worked for me too on Win 10 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants