asyncshell.request: removed unused argument

This commit is contained in:
luke bonham 2015-02-01 11:39:26 +01:00 committed by copycat-killer
parent 527e38f437
commit 7f203ab08d
3 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -9,7 +9,7 @@
local debug = require("debug")
local capi = { timer = timer }
local io = { open = io.open,
local io = { open = io.open,
lines = io.lines }
local rawget = rawget

View File

@ -2,7 +2,7 @@
--[[
Licensed under GNU General Public License v2
* (c) 2015, luke bonham
* (c) 2015, Luke Bonham
* (c) 2015, plotnikovanton
--]]
@ -11,7 +11,7 @@ local wibox = require("wibox")
local beautiful = require("beautiful")
local gears = require("gears")
-- Lain cairo separators util submodule
-- Lain Cairo separators util submodule
-- lain.util.separators
local separators = {}