xrun: don't use spawn_with_shell

We don't need a shell.
This commit is contained in:
Vincent Bernat 2015-03-20 19:32:32 +01:00
parent 97c5b983e7
commit fc2fd51f94

View file

@ -20,7 +20,7 @@ local xrun_now = function(name, cmd)
if os.execute("xwininfo -name '" .. name .. "' > /dev/null 2> /dev/null") == 0 then
return
end
awful.util.spawn_with_shell(cmd or name)
awful.util.spawn(cmd or name, false)
end
-- Run a command if not already running.