wymcmd 0.2.1
A console window flashed on your screen and vanished. This tells you what opened it, and why —
including launches that happened while nothing of ours was running.
A fix release. Everyone on 0.2.0 should take this one.
Install
Download wymcmd-0.2.1-win-x64.zip, unpack it anywhere, then:
wymcmd installThat copies both files to %LOCALAPPDATA%\Programs\wymcmd, adds the folder to your PATH and puts
a shortcut in the start menu — no administrator needed. Open a new terminal and wymcmd works
from any folder.
The binary is not code-signed, so SmartScreen will call it an unrecognised app the first time:
"More info", then "Run anyway". A .sha256 ships beside every download.
Fixed in 0.2.1
The Sources button froze the app (#1, reported by @mihha). Opening the panel reads the event database, and closing that store waited for its background writer through whatever synchronisation context the caller was on. From the window that context is the WPF dispatcher — which was at that moment blocked inside the very same call. The two waited on each other and nothing could break the tie, so the window never appeared and the process could only be ended from Task Manager.
Closing the window ran the same path, so the app could hang on exit too.
- Closing the event store and the capture engine no longer needs the calling thread back, and every wait is bounded.
- The Sources panel runs its checks off the UI thread and says it is working, so a slow machine draws a window instead of looking frozen.
- The Security log check is given a time budget. Where 4688 auditing was never turned on, asking for the newest one costs a walk of the whole log; it now reports
unknownrather than holding the panel up.
A regression test reproduces the freeze on a dispatcher thread and fails without the fix. 80 tests.
Nothing else changed: same sources, same recorder, same command line.