small fixes
This commit is contained in:
parent
4903782e55
commit
823659d83d
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ function asyncshell.request(command, callback)
|
||||||
local tmpfname = asyncshell.file_template .. id
|
local tmpfname = asyncshell.file_template .. id
|
||||||
asyncshell.request_table[id] = {callback = callback}
|
asyncshell.request_table[id] = {callback = callback}
|
||||||
local req =
|
local req =
|
||||||
string.format("bash -c '%s > %s; " ..
|
string.format("sh -c '%s > %s; " ..
|
||||||
'echo "asyncshell.deliver(%s)" | ' ..
|
'echo "asyncshell.deliver(%s)" | ' ..
|
||||||
"awesome-client' 2> /dev/null",
|
"awesome-client' 2> /dev/null",
|
||||||
string.gsub(command, "'", "'\\''"), tmpfname,
|
string.gsub(command, "'", "'\\''"), tmpfname,
|
||||||
|
|
Loading…
Add table
Reference in a new issue