[i3] Use Popen instead of call - async call
subprocess.call() blocks until the command finishes - Popen is better for executing in the background :)
This commit is contained in:
parent
579381978e
commit
7c2170f58a
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ def read_input(output):
|
|||
instance = event.get("instance", ""),
|
||||
button = event.get("button", -1)
|
||||
)
|
||||
subprocess.call(shlex.split(cb), stdout=DEVNULL, stderr=DEVNULL)
|
||||
subprocess.Popen(shlex.split(cb), stdout=DEVNULL, stderr=DEVNULL)
|
||||
|
||||
class i3bar(bumblebee.output.Output):
|
||||
def __init__(self, theme):
|
||||
|
|
Loading…
Reference in a new issue