Update terminal.py default executable bash

This commit is contained in:
张雷 2024-04-13 11:56:15 +00:00
parent ea5aeeb2e8
commit 76fe4966d1

View file

@ -22,11 +22,13 @@ class Terminal:
# Start a persistent shell process
self.process = subprocess.Popen(
self.shell_command,
shell=True,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
text=True,
bufsize=1, # Line buffered
executable="/bin/bash"
)
self.stdout_queue = Queue()