subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
f.write(f"file '{wav_path}'\n") merged_wav = os.path.join(out_dir, f"_merged_{os.getpid()}.wav") subprocess.run( [FFMPEG, "-y", "-f", "concat", "-safe", "0", "-i", concat_list, "-c", "copy", merged_wav], capture_output=True, text=True, check=True, )- Confidence
- 76% confidence
- Finding
- subprocess.run( [FFMPEG, "-y", "-f", "concat", "-safe", "0", "-i", concat_list, "-c", "copy", merged_wav], capture_output=True, text=True, check=True, )
