Update ptyDriver.py

This commit is contained in:
chrys87 2018-05-30 13:20:49 +02:00 committed by GitHub
parent 5252c4d33d
commit 00a9d2beda
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,7 +162,7 @@ class driver(screenDriver):
# output # output
if self.p_out in r: if self.p_out in r:
try: try:
msgBytes = self.readAll(self.p_out.fileno(), timeout=0.3, interruptFd=sys.stdin) msgBytes = self.readAll(self.p_out.fileno(), timeout=0.5, interruptFd=sys.stdin)
except (EOFError, OSError): except (EOFError, OSError):
active.value = False active.value = False
break break