Maximus5 / ConEmu

Customizable Windows terminal with tabs, splits, quake-style, hotkeys and more
https://conemu.github.io/
BSD 3-Clause "New" or "Revised" License
8.5k stars 570 forks source link

ConEmu can't extract .exe's icon if startup command's path contains spaces #2500

Open montoner0 opened 1 year ago

montoner0 commented 1 year ago

Versions

ConEmu build: 221218 x32/x64 (both) OS version: Windows 10 22H2 x64 Used shell version (Far Manager, git-bash, cmd, powershell, cygwin, whatever): Far Manager 3.0.6060

Problem description

If a startup command's path contains spaces and it isn't double quoted then ConEmu doesn't show the application's icon on the tab bar and as overlay in the task bar.

Steps to reproduce

  1. Open the new console dialog in ConEmu
  2. Specify a path to .exe file containing spaces as a startup command (e. g. C:\Program Files (x86)\Far Manager\Far.exe)
  3. Press the Start button

Actual results

The console and the command line will start successfully but no icon appears on the tab bar and as the task bar overlay. If the path is double quoted - the icon shows fine.

Expected results

The icon appears properly regardless of whether the path was double quoted or not.