small fixes

This commit is contained in:
luke bonham 2014-08-07 12:21:30 +02:00 committed by copycat-killer
parent 3e735d3eff
commit c14436760d
1 changed files with 1 additions and 1 deletions

View File

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