diff --git a/scripts/sound/extract_sound_samples.py b/scripts/sound/extract_sound_samples.py index 9009de22d..1fe2e03d4 100644 --- a/scripts/sound/extract_sound_samples.py +++ b/scripts/sound/extract_sound_samples.py @@ -5,4 +5,4 @@ if filename.endswith('.bin'): filepath = directory + "/" + filename print('Extracting', filepath) - os.system('./tools/aif2pcm/aif2pcm ' + filepath) + __import__('subprocess').run(['./tools/aif2pcm/aif2pcm', filepath], check=True)