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:
commit
53865e1898
1 changed files with 2 additions and 1 deletions
|
@ -575,7 +575,8 @@ class CoreClient:
|
||||||
output = os.popen(f"echo {terminal}").read()[:-1]
|
output = os.popen(f"echo {terminal}").read()[:-1]
|
||||||
if output in DEFAULT_TERMS:
|
if output in DEFAULT_TERMS:
|
||||||
terminal = DEFAULT_TERMS[output]
|
terminal = DEFAULT_TERMS[output]
|
||||||
cmd = f'{terminal} "{response.terminal}" &'
|
|
||||||
|
cmd = f"{terminal} {response.terminal} &"
|
||||||
logging.info("launching terminal %s", cmd)
|
logging.info("launching terminal %s", cmd)
|
||||||
os.system(cmd)
|
os.system(cmd)
|
||||||
except grpc.RpcError as e:
|
except grpc.RpcError as e:
|
||||||
|
|
Loading…
Reference in a new issue