Fixed launching apps containing quotes
This commit is contained in:
parent
676dba72da
commit
026b550af3
@ -16,7 +16,7 @@ def RemoveArgs(Execline):
|
|||||||
# Actually execute the command
|
# Actually execute the command
|
||||||
def Execute( cmd ):
|
def Execute( cmd ):
|
||||||
if isinstance( cmd, str ):
|
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..."
|
print "running manually..."
|
||||||
os.system(cmd + " &")
|
os.system(cmd + " &")
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user