X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/30658f602bff127945b0a5acee551fd58eb226fc..5fc544049aa9a70df55907c8171703604aec7b26:/asyncshell.lua?ds=sidebyside diff --git a/asyncshell.lua b/asyncshell.lua index 4a01caa..36ccc47 100644 --- a/asyncshell.lua +++ b/asyncshell.lua @@ -44,8 +44,7 @@ function asyncshell.request(command, callback) string.format("sh -c '%s > %s; " .. 'echo "asyncshell.deliver(%s)" | ' .. "awesome-client' 2> /dev/null", - string.gsub(command, "'", "'\\''"), tmpfname, - id, tmpfname) + string.gsub(command, "'", "'\\''"), tmpfname, id) spawn(req, false) return id end