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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(bridge): stop 9600 baud override + hide flashing console windows
Two bugs isolated from today's field log:
1. baud 115200 saved in Setări was silently overwritten by server-push
of baud=9600 on every reconnect. Root cause: _LOCAL_WINS excluded
"serial_baud" from merge, but the server sends the key as "baud"
(no prefix). The driver reads cfg.get("baud") or cfg.get("serial_baud"),
so "baud" wins. Now both spellings are in _LOCAL_WINS — server
push for the wire baud is ignored; the GUI-configured value takes
effect on next reconnect.
2. A black cmd.exe window was flashing on top of the GUI every 2s.
The _refresh timer shells out to tasklist and sc query to decide
whether the bridge process is running, and _task_state shells out
to schtasks. None of these calls were passing CREATE_NO_WINDOW +
STARTUPINFO(SW_HIDE), so Python on Windows opened a brief console
for each. Added a _run_hidden() helper and routed every subprocess
call in gui.py through it.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>