X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/568195ca492756ae47491ccbf18e5bca80b1f124..7dce46c34d7bf3e8ccdc03aa10d25d4df581326d:/asyncshell.lua?ds=inline diff --git a/asyncshell.lua b/asyncshell.lua index a8e3676..61336db 100644 --- a/asyncshell.lua +++ b/asyncshell.lua @@ -52,7 +52,7 @@ function asyncshell.request(command, callback, timeout) id, formatted_command ) - if type(awful.spawn) == 'table' then + if type(awful.spawn) == 'table' and awful.spawn.with_shell then awful.spawn.with_shell(req) else awful.util.spawn_with_shell(req)