From 64b17296851d0d10c2c084a3172137b26b9b2fd8 Mon Sep 17 00:00:00 2001 From: Kaushal Kumar Agarwal Date: Mon, 20 Aug 2018 17:23:02 +0530 Subject: [PATCH] fixed cmdline close issue with mate-terminal --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 416b122..09ac963 100644 --- a/main.py +++ b/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() \ No newline at end of file +root.mainloop()