mirror of https://github.com/lcpz/lain.git
small fixes
This commit is contained in:
parent
3e735d3eff
commit
c14436760d
|
@ -39,7 +39,7 @@ function asyncshell.request(command, callback)
|
|||
local tmpfname = asyncshell.file_template .. id
|
||||
asyncshell.request_table[id] = {callback = callback}
|
||||
local req =
|
||||
string.format("bash -c '%s > %s; " ..
|
||||
string.format("sh -c '%s > %s; " ..
|
||||
'echo "asyncshell.deliver(%s)" | ' ..
|
||||
"awesome-client' 2> /dev/null",
|
||||
string.gsub(command, "'", "'\\''"), tmpfname,
|
||||
|
|
Loading…
Reference in New Issue