Merge pull request #400 from coreemu/bugfix/fix-387-gnome-terminal-launch-try2

fix #387 launch gnome-terminal properly by removing extra quoting try2
This commit is contained in:
bharnden 2020-03-04 13:22:13 -08:00 committed by GitHub
commit 53865e1898
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -575,7 +575,8 @@ class CoreClient:
output = os.popen(f"echo {terminal}").read()[:-1]
if output in DEFAULT_TERMS:
terminal = DEFAULT_TERMS[output]
cmd = f'{terminal} "{response.terminal}" &'
cmd = f"{terminal} {response.terminal} &"
logging.info("launching terminal %s", cmd)
os.system(cmd)
except grpc.RpcError as e: