X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/30658f602bff127945b0a5acee551fd58eb226fc..172bc21bcf44f6b978ac224351fd673144ba8fa0:/asyncshell.lua 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