subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
raise RuntimeError(f"docs fetch disabled in cron and no cached copy at {cache_file}") try: p = subprocess.run( ["curl", "-fsSL", "--max-time", "10", url], capture_output=True, text=True, timeout=12, )- Confidence
- 97% confidence
- Finding
- p = subprocess.run( ["curl", "-fsSL", "--max-time", "10", url], capture_output=True, text=True, timeout=12, )
