[waldteufel] stop generating zombies when playing sound. Fixes #5308

This commit is contained in:
Yann Leboulanger 2009-10-06 21:35:48 +02:00
parent 3a13f91162
commit 416d2caf05
1 changed files with 1 additions and 1 deletions

View File

@ -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)