Merge pull request #220 from setrofim/master
asyncshell: minor fix to spawn with shell invocation
This commit is contained in:
commit
a3ad60919f
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ function asyncshell.request(command, callback, timeout)
|
||||||
id, formatted_command
|
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)
|
awful.spawn.with_shell(req)
|
||||||
else
|
else
|
||||||
awful.util.spawn_with_shell(req)
|
awful.util.spawn_with_shell(req)
|
||||||
|
|
Loading…
Add table
Reference in a new issue