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

ConEmu 190301 would crash when startup environment uses "echo -x" command #1840

x-magic opened this Issue Mar 3, 2019 · 1 comment


2 participants
Copy link

x-magic commented Mar 3, 2019


ConEmu build: 190301 x64 Preview channel
OS version: Windows 10 Ent LTSC x64 Version 10.0.17763.316
Used shell version : any shell

Problem description

So it is mentioned in this page and this page that ConEmu's internal echo command accepts -x to expand environment variables. But it seems in the latest version (as far as I can remember, in all 2019 builds) using echo with "-x" argument would render ConEmu unresponsive at startup, stuck at "waiting for console server...". This issue is not presented in 20180626 build.

Steps to reproduce

  1. Confirm ConEmu startup correctly
  2. Go to settings->startup->environment
  3. Add something like echo -x "ConEmu version: %ConEmuBuild%" in startup environment variables
  4. Save settings and close ConEmu
  5. Restart ConEmu
  6. ConEmu freezes

Actual results

ConEmu freezes at "waiting for console server..." in bottom status bar

Expected results

ConEmu start up normally

Additional files


@Maximus5 Maximus5 added the crash label Mar 3, 2019

@Maximus5 Maximus5 added this to To Do in ConEmu via automation Mar 3, 2019

@Maximus5 Maximus5 moved this from To Do to Ready for Testing in ConEmu Mar 3, 2019

DanaMW added a commit to DanaMW/ConEmu that referenced this issue Mar 4, 2019

Merge remote-tracking branch 'upstream/master'
* upstream/master:
  190303 release files
  190303 Chocolatey and Nuget
  Internal. Remove assertion: Under pwsh.exe we have GetConsoleOutputCP=65001 and GetConsoleCP=437
  Add default tasks for ‘PowerShell Core’.
  Changes in default tasks generation.
  Icon was not autoloaded for some tabs (e.g. `pwsh.exe`).
  Maximus5gh-1833: Fix border rendering issues (bar placement).
  Allow to do `Copy all` from load dump screen.
  The `-FontSize` is better name to change font size switch.
  Maximus5gh-1840: Fix hung during startup if Environment contains `echo -x ...`.
  Internal. Fix NextArg declaration
  Internal. GetData is used during load screen dump
  Internal. COMMON_LVB_REVERSE_VIDEO is too tough condition
  Internal. AnsiDbg -utf8 switch

This comment has been minimized.

Copy link

x-magic commented Mar 5, 2019

Hi, thank you for fixing the issue! I just updated to 190303 preview and no more freezing occurs.

@Maximus5 Maximus5 closed this Mar 5, 2019

ConEmu automation moved this from Ready for Testing to Done Mar 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.