fixed cmdline close issue with mate-terminal
This commit is contained in:
parent
bf43539e3d
commit
64b1729685
4
main.py
4
main.py
@ -27,7 +27,7 @@ class FLOappStore:
|
||||
if(apps[i]["type"] == "Gui"):
|
||||
subprocess.Popen(apps[i]["exec"], cwd=apps[i]["location"])
|
||||
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"):
|
||||
webbrowser.open(apps[i]["exec"],new=1)
|
||||
|
||||
@ -37,4 +37,4 @@ root = Tk()
|
||||
root.title("FLOappStore")
|
||||
gui = FLOappStore(root)
|
||||
gui.start()
|
||||
root.mainloop()
|
||||
root.mainloop()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user