Commit de1649a0 authored by Roman Alifanov's avatar Roman Alifanov

LogDialog: fix error: tput: unknown terminfo capability '2'

parent 9cb89522
...@@ -78,8 +78,11 @@ class CommandRunner: ...@@ -78,8 +78,11 @@ class CommandRunner:
def process_runner(): def process_runner():
master_fd, slave_fd = pty.openpty() master_fd, slave_fd = pty.openpty()
try: try:
env = os.environ.copy()
env['TERM'] = 'xterm'
process = subprocess.Popen(command, shell=True, process = subprocess.Popen(command, shell=True,
stdout=slave_fd, stderr=slave_fd, text=True) stdout=slave_fd, stderr=slave_fd, text=True, env=env)
os.close(slave_fd) os.close(slave_fd)
# Use selectors to manage I/O # Use selectors to manage I/O
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment