subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
if not python: return -1, "", "venv Python not found" try: r = subprocess.run( [python, "-c", script], capture_output=True, text=True, timeout=timeout )- Confidence
- 95% confidence
- Finding
- r = subprocess.run( [python, "-c", script], capture_output=True, text=True, timeout=timeout )
