fix #387 launch gnome-terminal properly by removing extra quoting try2
This commit is contained in:
parent
fd2a5ec290
commit
18d88ab797
1 changed files with 1 additions and 1 deletions
|
@ -575,7 +575,7 @@ 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…
Add table
Reference in a new issue