subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
# Kill any existing server on this port try: subprocess.run(["pkill", "-f", f"serve_files.py.*{port}"], stderr=subprocess.DEVNULL) except: pass- Confidence
- 94% confidence
- Finding
- subprocess.run(["pkill", "-f", f"serve_files.py.*{port}"], stderr=subprocess.DEVNULL)
