From 416d2caf05b0f91c1b388ab98674fb9495042b1a Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 6 Oct 2009 21:35:48 +0200 Subject: [PATCH] [waldteufel] stop generating zombies when playing sound. Fixes #5308 --- src/common/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/helpers.py b/src/common/helpers.py index 8c58f4491..7d6ba431d 100644 --- a/src/common/helpers.py +++ b/src/common/helpers.py @@ -356,7 +356,7 @@ def is_in_path(command, return_abs_path=False): return False def exec_command(command): - subprocess.Popen(command, shell = True) + subprocess.Popen(command + ' &', shell = True).wait() def build_command(executable, parameter): # we add to the parameter (can hold path with spaces)