subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
concat = work / 'concat.txt' concat.write_text(''.join([f"file '{c}'\n" for c in clips])) subprocess.run(['ffmpeg', '-y', '-f', 'concat', '-safe', '0', '-i', str(concat), '-c', 'copy', args.output], check=True) print(args.output)- Confidence
- 95% confidence
- Finding
- subprocess.run(['ffmpeg', '-y', '-f', 'concat', '-safe', '0', '-i', str(concat), '-c', 'copy', args.output], check=True)
