This repository has been archived by the owner on Jan 14, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#57: Do not copy terminal size if the console is non-interactive to a…
…void exception ``` Traceback (most recent call last): File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner self.run() File "/usr/lib/python3.8/threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.8/site-packages/rkd/process.py", line 105, in push_output copy_terminal_size(sys.stdout, primary_fd) File "/usr/lib/python3.8/site-packages/rkd/process.py", line 149, in copy_terminal_size col, row, x_pixels, y_pixels = get_terminal_size(fd_from) File "/usr/lib/python3.8/site-packages/rkd/process.py", line 166, in get_terminal_size x = fcntl.ioctl(fd.fileno(), termios.TIOCGWINSZ, s) OSError: [Errno 25] Inappropriate ioctl for device ```
- Loading branch information