CC-4970: Process return codes aren't "reaped" after exiting - Zombie processes are created.
-fixed
This commit is contained in:
parent
70931e9a5e
commit
8f53871ddc
1 changed files with 2 additions and 1 deletions
|
@ -174,7 +174,8 @@ def normalize_mutagen(path):
|
||||||
try:
|
try:
|
||||||
command = ['silan', '-f', 'JSON', md['path']]
|
command = ['silan', '-f', 'JSON', md['path']]
|
||||||
proc = subprocess.Popen(command, stdout=subprocess.PIPE)
|
proc = subprocess.Popen(command, stdout=subprocess.PIPE)
|
||||||
out = proc.stdout.read()
|
out = proc.communicate()[0].strip('\r\n')
|
||||||
|
|
||||||
info = json.loads(out)
|
info = json.loads(out)
|
||||||
md['cuein'] = info['sound'][0][0]
|
md['cuein'] = info['sound'][0][0]
|
||||||
md['cueout'] = info['sound'][-1][1]
|
md['cueout'] = info['sound'][-1][1]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue