subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
import websockets except ImportError: print("Installing websockets...", file=sys.stderr) subprocess.check_call([sys.executable, "-m", "pip", "install", "-q", "websockets"]) import websockets- Confidence
- 95% confidence
- Finding
- subprocess.check_call([sys.executable, "-m", "pip", "install", "-q", "websockets"])
