[core/input] Execute commands in background

When spawning a command from an input interaction, do it in the
background, so as to not block further interactions.

see #23
This commit is contained in:
Tobi-wan Kenobi 2016-12-10 10:47:23 +01:00
parent 918d7a6046
commit c820223d0c

View file

@ -98,6 +98,6 @@ class I3BarInput(object):
if callable(cmd): if callable(cmd):
cmd(event) cmd(event)
else: else:
bumblebee.util.execute(cmd) bumblebee.util.execute(cmd, False)
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4