Throttle and schedule buffered output delivery

This commit is contained in:
2026-02-17 05:46:43 +09:00
parent 3effedf07d
commit 51e63a0f85
7 changed files with 169 additions and 4 deletions

View File

@@ -55,7 +55,7 @@ class PtyManager:
logger.debug("입력 전송: %s", text)
self._process.sendline(text)
def read_output(self, timeout: int = 5) -> str:
def read_output(self, timeout: float = 5) -> str:
"""프로세스의 출력을 읽는다."""
if not self.is_alive:
raise RuntimeError("프로세스가 실행 중이 아닙니다.")