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.54k stars 571 forks source link

Wrong "incomplete operations" detection (on tab closing) in a xonsh Windows shell? #2282

Open eugenesvk opened 3 years ago

eugenesvk commented 3 years ago

Versions

ConEmu build: 210206 x64 OS version: Windows 10.0.19042.0 x64 Used shell version: xonsh/0.9.26 (Python 3.9.1)

Problem description

A newly launched tab with a xonsh shell (with an empty profile) without any operations running warns on tab closing "Incomplete operations: 1"

I know from this issue that

WinApi doesn't expose list of processes running in Linux subsystem.

However, since this is a Windows process not sure whether this is relevant. Or is it maybe due to the fact that there is also a python.exe process or something?

Steps to reproduce

  1. Install Python and xonsh on Windows (not within WSL)
  2. Launch a '...\Python\Scripts\xonsh.exe' shell in a new ConEmu tab
  3. Try to close this tab

Actual results

A warning about some "Incomplete operations: 1" is shown

Expected results

The tab closes without a warning

Additional files

Using a fresh portable ConEmu without any changes in the settings, except adding a new default launch xonsh tab Logs — I just launch a new C:\ConEmuPack.210206\ConEmu64.exe -Log command and after a few seconds close the tab with a shortcut

Maximus5 commented 3 years ago

python.exe is an incomplete operation. You shell starts something, ConEmu sees that and warns you. So, that's expected behavior.