From 097af08da92b1cdeb2280884b6b937a2a2210ee8 Mon Sep 17 00:00:00 2001 From: Yuya Kusakabe Date: Sun, 17 Feb 2013 11:52:18 +0900 Subject: [PATCH] Update usr/lib/linuxmint/mintMenu/plugins/execute.py Patch for bug #1127710 (https://bugs.launchpad.net/linuxmint/+bug/1127710) --- usr/lib/linuxmint/mintMenu/plugins/execute.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr/lib/linuxmint/mintMenu/plugins/execute.py b/usr/lib/linuxmint/mintMenu/plugins/execute.py index 30658bf..1f43490 100755 --- a/usr/lib/linuxmint/mintMenu/plugins/execute.py +++ b/usr/lib/linuxmint/mintMenu/plugins/execute.py @@ -1,4 +1,3 @@ - import os import subprocess @@ -15,7 +14,7 @@ def RemoveArgs(Execline): # Actually execute the command def Execute( cmd ): - if isinstance( cmd, str ): + if isinstance( cmd, str ) or isinstance( cmd, unicode): if (cmd.find("/home/") >= 0) or (cmd.find("su-to-root") >= 0) or (cmd.find("\"") >= 0): print "running manually..." os.system(cmd + " &")