From 026b550af390a7bb07504f2d6867d35e7fa394c3 Mon Sep 17 00:00:00 2001 From: Clement Lefebvre Date: Thu, 23 Sep 2010 11:15:09 +0100 Subject: [PATCH] Fixed launching apps containing quotes --- usr/lib/linuxmint/mintMenu/plugins/execute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/execute.py b/usr/lib/linuxmint/mintMenu/plugins/execute.py index 34f9699..30658bf 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/execute.py +++ b/usr/lib/linuxmint/mintMenu/plugins/execute.py @@ -16,7 +16,7 @@ def RemoveArgs(Execline): # Actually execute the command def Execute( cmd ): if isinstance( cmd, str ): - if (cmd.find("/home/") >= 0) or (cmd.find("su-to-root") >= 0) : + if (cmd.find("/home/") >= 0) or (cmd.find("su-to-root") >= 0) or (cmd.find("\"") >= 0): print "running manually..." os.system(cmd + " &") return True