From: Luke Bonham Date: Fri, 5 Aug 2016 13:57:57 +0000 (+0200) Subject: Merge pull request #220 from setrofim/master X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/a3ad60919ff66f619d62d53937fb9dd33cf59605?hp=417c3ce33b2d6ee58b88237fea0edc96c1af2013 Merge pull request #220 from setrofim/master asyncshell: minor fix to spawn with shell invocation --- 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)