Commit Graph

2 Commits

Author SHA1 Message Date
illustris
e9b60a3af6 Switch qm monitor I/O from pipes to PTY using creack/pty
qm monitor requires a TTY to emit its prompt; the pipe-based approach
missed prompt detection on some hosts. Replace with pty.Start, refactor
readUntilMarker to scan byte-by-byte with deadline goroutine, and add
parseQMResponse to strip command echo and \r artifacts. Add unit tests
for the new reader and parser functions.
2026-03-12 09:52:26 +00:00
illustris
d8f4a77657 init 2026-03-11 15:01:20 +05:30