fixed cmdline close issue with mate-terminal
This commit is contained in:
parent
bf43539e3d
commit
64b1729685
2
main.py
2
main.py
@ -27,7 +27,7 @@ class FLOappStore:
|
|||||||
if(apps[i]["type"] == "Gui"):
|
if(apps[i]["type"] == "Gui"):
|
||||||
subprocess.Popen(apps[i]["exec"], cwd=apps[i]["location"])
|
subprocess.Popen(apps[i]["exec"], cwd=apps[i]["location"])
|
||||||
elif(apps[i]["type"] == "Cmdline"):
|
elif(apps[i]["type"] == "Cmdline"):
|
||||||
subprocess.Popen(["gnome-terminal -- "+apps[i]["exec"]], cwd=apps[i]["location"],stdout=subprocess.PIPE, shell=True)
|
subprocess.Popen(["mate-terminal --command %s" % (apps[i]["exec"])],cwd=apps[i]["location"],stdout=subprocess.PIPE,shell=True)
|
||||||
elif(apps[i]["type"] == "Webapp"):
|
elif(apps[i]["type"] == "Webapp"):
|
||||||
webbrowser.open(apps[i]["exec"],new=1)
|
webbrowser.open(apps[i]["exec"],new=1)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user