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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user