X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/1738f98c04158ecd7099ad15e97702818d793b2c..fdb6e412a05acae3f4ad92f5f21a821c6f69a6a7:/asyncshell.lua 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)